[AD] Problem loading 24bit PNG graphics when setting color depth to 8. |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
I have an application that loaded 24bit BMP images and had
Allegro color convert to 8, 16 or 32 bit as needed at load time using
set_color_conversion(COLORCONV_TOTAL|COLORCONV_KEEP_TRANS). When I recently converted to using PNG images (and saving
all the original BMP images to PNG) and using the handy LoadPNG library, only
16 and 32 bit color conversions work. The 8bit color mode gets a messed
up palette. Is this a known issue with loadpng or using PNG graphics? Kirk Black President / Owner Family Time! Interactive, L.L.C. Email: runesabre@xxxxxxxxxx |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |