[Gdal-dev] Re: GIF

Frank Warmerdam warmerdam at pobox.com
Thu Oct 4 13:16:37 EDT 2007


Joaquim Luis wrote:
> Frank Warmerdam wrote:
>> On 10/4/07, cincirin <cincirin at gmail.com> wrote:
>>  
>>> Thanks for your fast answer, but now I have another little question. 
>>> Suppose
>>> the GIF are handled only 1 byte palette, GDALOpen return for example 
>>> 6, 10,
>>> etc. bands for animated GIF. Are these bands represent only one frame(
>>> image ) in animated gif ?
>>>     
>>
>> Cincirin,
>>
>> I checked a couple gifs that I believe are animated and they
>> only have one band, so to the best of my knowledge animated
>> gifs are not represented as multi-band .  If you find a gif with
>> multiple bands in GDAL then I'd appreciate seeing it.
>>   
> 
> Frank,
> The attached gif (if it passes) was produced by a program of mine.
> gdalinfo says  it is multiband.

Joaquim,

I stand corrected.  It does appear that each animation step is a
band, but there is no mechanism in the current driver to expose the
delay between steps.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list