How to know that file .gif is animated or not ???
-
Hello I have to know that file .gif is animated or not !!! because my library display Gif not support Animated Gif it will crash when open Animated. My idea is do check myself that is Animated or not !!! but I don't know what to do ??? Any Idea ??? Thank you
-
Hello I have to know that file .gif is animated or not !!! because my library display Gif not support Animated Gif it will crash when open Animated. My idea is do check myself that is Animated or not !!! but I don't know what to do ??? Any Idea ??? Thank you
Hi, You can find descriptions of the GIF file format here: http://www.wotsit.org/ (Graphics section) Maybe you should first check if a new version of that library is available (or maybe get another one :) Cheers, Cristi
-
Hello I have to know that file .gif is animated or not !!! because my library display Gif not support Animated Gif it will crash when open Animated. My idea is do check myself that is Animated or not !!! but I don't know what to do ??? Any Idea ??? Thank you
If you know how to parse the header section of the GIF file, then look for the 0xFF flag indicating an application-specific extension, and if found and you have a buffer, check for the string "NETSCAPE2.0" -- that's the indication for an animated GIF. ================== The original message was: Hello
I have to know that file .gif is animated or not !!!
because my library display Gif not support Animated
Gif it will crash when open Animated.
My idea is do check myself that is Animated or not !!!
but I don't know what to do ???
Any Idea ???Thank you