Page 1 of 1

gflLoadThumbnail D4/Win98: wrong NumberOfImages for GIF ?

Posted: Thu Jun 08, 2006 7:05 pm
by klaus2
Hi,

may it be the case that, on GIF images, gflLoadThumbnail with Delphi 4 / Win98
returns wrongs results for finfo.NumberOfImages (always "1") ? // libgfl 2.54

This result is
- different to using the same code with Delphi 6 / Win2K
- and different to the result given by gflLoadBitmap.

Any points of direction would be helpful.

Best Regards,
klaus2

Posted: Thu Jun 08, 2006 9:02 pm
by klaus2
Seems to apply to gflGetFileInformation too

(more ugly, because i want to have the correct information, although i don't want to display animated gif with libgfl).

Posted: Fri Jun 09, 2006 3:08 pm
by klaus2
Hi,

About gflLoadThumbnail, i did an error (in fact, gif nbrOfImages does _not_ work with D6/W2K;
also it is an already known issue) - so forget.

About gflGetFileInformation: is it assumed that it should provide the info?

Best Regards,
klaus2

Posted: Tue Jun 27, 2006 7:12 am
by xnview
klaus2 wrote:Hi,

About gflLoadThumbnail, i did an error (in fact, gif nbrOfImages does _not_ work with D6/W2K;
also it is an already known issue) - so forget.

About gflGetFileInformation: is it assumed that it should provide the info?
The problem with gif is that i must decompress all frames to know how many frames are in the gif.... :-(

Posted: Tue Jun 27, 2006 3:46 pm
by Alessandro
If I got it right Pierre already answered to this question.
Use gflLoadBitmap to get the correct number of frames...

I hope this helps