Re: [AD] GIF patent / support

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


On Thu, 2004-10-07 at 17:51 -0700, Chris wrote:

> GIF files are not limited to 256 colors. There was a link posted in 
> allegro.cc's forums about that a while ago, but I can't remember it 
> off-hand. The problem is that most GIF writers don't take advantage of 
> some facet of the format, and thus limit themselves to 256 colors. And 
> I'm not sure if any of the GIF loaders for Allegro are aware of this either.
> 

Well, every frame in a GIF has its own palette and its own offset into
the main image. Therefore you can split any truecolor image into 16x16
frames, and so you can split the complete 24bit images into 16x16 blocks
where each pixel is a different palette entry with a 24bit color. It
should be supported by all gif addons (just if they return only the
first frame, it won't work of course). This is totally useless in any
case, since you only compress lots and lots of independent 16x16 images
now.

-- 
Elias Pschernig





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