ga...@ya... <ga...@ya...>:
>I don't know then if one frame in a animation could have more than
>one image block.
Can have up to two: one local; to the image, one global to the collection.
The giflib library itself only extracts colormaps and pixel valus for you;
it doesn't control how these are composited into a final RGB value. That's
up to the application.
(Note to self: Add some recommendations about this to the docs.)
>Furthermore I don't understand how the GifColorType correlates with
the GifPixelType. Why this distinction?
GifPixelType is a wrapper for an unsigned pixel value interpreted as
an index into some color table. GifColorType is an RGB triple.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
|