Log in or register to post comments

Invalid file format - API Result Code

June 24, 2020 - 2:27pm #1

When we have this error, "Invalid file format.Only 8 bit gray scale or 24 bit RGB of file type JPG or PNG are allowed."

Is this the "Result Code" we should get from the API --> BadImage / Unprocessable Entity (422) / Image corrupted or format not supported (target POST/PUT response)

 

Thank you!

 

Invalid file format - API Result Code

June 26, 2020 - 1:09am #2

Hi,

I believe so. Please check following:

    Your image is in one of the supported formats, PNG or JPEG

    Your image is either grayscale or RGB-24 bit. This means that 32-bit images with an alpha channel (RGB + Alpha) are not allowed.

    Your image size does not exceed 2.25 MB

More info here: https://library.vuforia.com/articles/Training/Getting-Started-with-the-Vuforia-Target-Manager; Troubleshooting Errors from the Target Manager

Please note that although is referring to the Target Manager, same eligibility conditions apply.

Thank you.

Vuforia Engine Support

Log in or register to post comments