Re: [AD] Color convert and 8-bpp

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2003-01-11 at 10:08, Eric Botcazou wrote:
> > See this thread:
> > http://www.allegro.cc/forums/view_thread.php?_id=231656&request=1041823957&;
> 
> Elias, am I mistaken or does your patch not address precisely that issue ?
> 
> 2002-11-05 19:17  ebotcazou	alleg067.diff
> 
> 	* docs/src/allegro._tx (1.102), src/bmp.c (1.11), src/lbm.c (1.8),
> 	src/pcx.c (1.12), src/readbmp.c (1.15), src/tga.c (1.11): Elias
> 	optimized the load_bitmap() function family when no palette is
> 	specified and documented the feature
> 
> I'm ok to backport it to the branch.

Yes, if the palette parameter is NULL, the truecolor image should get
converted to the current palette. I got a bit confused by the thread on
allegro.cc, because fixup_datafile is mentioned there. Maybe
spellcaster/23yearold can try if 4.1.8 would fix the problem?

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/