Strange behavior in Designer with Image Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 5:47 AM
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.
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 7:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-14 2:28 AM
@Martin KJELDSEN​ any hints?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-14 6:09 AM
I'll take a look at it tomorrow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-03 11:30 PM
Hi @Martin KJELDSEN​
did you by any chance have time to look at this?
