PTCInc / vuforia-engine

Bug and feedback issue tracker for the Vuforia Engine SDK
https://developer.vuforia.com
20 stars 0 forks source link

Wrong_Color_Model when adding image target #165

Closed axinailedit closed 1 hour ago

axinailedit commented 4 hours ago

Summarize your feature feedback A clear and concise summary of what your feature feedback is. I have a png format image with RGB-16 bit color model sizing under 1mb, but it can't be added as an image target for "Wrong_Color_Model"

Describe your feature A detailed description of your specific feature request.

Use-case description Please provide a detailed description of the core problem being faced by you and how this new feature would address your needs. I read your Troubleshooting Errors from the Target Manager, which suggests my image should fit these standards: Your image is in one of the supported formats, PNG or JPEG. Its width is minimum 320px. 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.

does RGB-16 bit not fit the requirements?

Business impact What value and impact would this bring you if this feature would be realized?

Workaround Is there currently a workaround for you?

Additional context Add any other context or screenshots about your feedback here.

ptc-thesbyro commented 3 hours ago

Hi @axinailedit,

RGB-16 bit should work as well. I have to double-check with the experts, but I believe the RGB-24 bits is the bits per pixel as a minimum. So, even a 8-bits/channel should work.

The Wrong_Color_Model error could also mean that there's an alpha channel, which is when an element has a transparency or is opaque. If you're using Adobe Illustrator or Photoshop, make sure to not use the Transparency and the Smaller File (8-bit) in the export window.

axinailedit commented 2 hours ago

Hi Thijs,

Thank you for replying! Turns out transparency is indeed the issue because my image was initially hand-painted on Procreate lol. I converted the image format to jpg and this time it goes very well.

Would not have thought of this without your help, thanks so much! Have a wonderful day!

On Fri, Nov 15, 2024 at 8:23 PM Thijs Hesby Roeleven < @.***> wrote:

Hi @axinailedit https://github.com/axinailedit,

RGB-16 bit should work as well. I have to double-check with the experts, but I believe the RGB-24 bits is the bits per pixel as a minimum. So, even a 8-bits/channel should work.

The Wrong_Color_Model error could also mean that there's an alpha channel, which is when an element has a transparency or is opaque. If you're using Adobe Illustrator or Photoshop, make sure to not use the Transparency and the Smaller File (8-bit) in the export window.

— Reply to this email directly, view it on GitHub https://github.com/PTCInc/vuforia-engine/issues/165#issuecomment-2478698742, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEACDQCH5G2WTQZPCGNMXVD2AXRSPAVCNFSM6AAAAABR25GYMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZYGY4TQNZUGI . You are receiving this because you were mentioned.Message ID: @.***>

ptc-thesbyro commented 1 hour ago

That's great to hear.

Happy developing!