cancel
Showing results for 
Search instead for 
Did you mean: 

Strange behavior in Designer with Image Configuration

jimmii
Senior II

I have an image (white with alpha). My configuration is as follows:

Opaque Img Format: L8_RGB888

Non Opaque Img Format: L8_ARGB8888

When generating code follwing error message appears:

ERROR: Error: L8_ARGB8888 image assets/images/logo.png has too many colors for palette. Consider using ARGB8888.

Why does this error message disappear when I change the settings for the Opaque image format to RGB565?

The said image (image_logo.cpp) is generated without issues.

KEEP extern const unsigned char image_logo[] LOCATION_ATTRIBUTE("ExtFlashSection") = // 223x44 L8_ARGB8888 pixels.

Is this some sort of a bug or do I have some misunderstandings?

Thanks for your help.

4 REPLIES 4
MM..1
Chief III

Maybe bug in config window, opaque and non opaque is swapped. But this is only default for inserted images. Every image have own setup in images manager.

L8 is pallete formats and accept as you know only 256 different 24 bit or 32bit colors per image.

And right way to manage is set defaults in config as you have, and when special image exist chonge setup only for this image or use convertor software to reduce colour.

jimmii
Senior II

@Martin KJELDSEN​  any hints?

Martin KJELDSEN
Chief III

I'll take a look at it tomorrow

Hi @Martin KJELDSEN​ 

did you by any chance have time to look at this?