Indexed BMP Graphics possible?

Having tech problems? Post them here and do not worry, there is always a solution for you.
Post Reply
User avatar
PakkyT
Posts: 78
Joined: Sun Jul 21, 2019 8:59 pm
Location: Massachusetts USA
Country: United States
Contact:

Indexed BMP Graphics possible?

Post by PakkyT »

Short version: According this this post the answer is no?
https://www.lemkesoft.info/forum/viewto ... xed#p27319

Slightly longer version is I am learning CircuitPython (an offshoot of MicroPython which of course is based on Python) to program microcontroller boards. When using a TFT display bitmaps need to be an indexed color profile. The full description on how to do this with Gimp is here...
https://learn.adafruit.com/creating-you ... p-graphics
which I have but I would much rather use GC for converting to an indexed bitmap. So still not possible?
User avatar
forum_adm
Site Admin
Posts: 1819
Joined: Fri Dec 23, 2016 9:41 am
Location: Germany
Country: Germany
Contact:

Re: Indexed BMP Graphics possible?

Post by forum_adm »

The export of index BMPs is currently not supported.

Just export as a GIF to get an indexed version.
User avatar
PakkyT
Posts: 78
Joined: Sun Jul 21, 2019 8:59 pm
Location: Massachusetts USA
Country: United States
Contact:

Re: Indexed BMP Graphics possible?

Post by PakkyT »

Unfortunately, CircuitPython only supports bitmaps I believe. Part of that is likely how it assigns graphic data to pixels and the other due to sometimes limited RAM in the micros that may not have enough to do things like uncompress GIFs, JPGs, etc.

I did one last night with Gimp and it was easy enough. Just thought it would be nice if GC did it because your solution would probably be more straightforward. Even loading Gimp takes too long just to index a tiny bitmap. 1st world problems! I will manage. :lol:
Post Reply