Results 1 to 3 of 3

Thread: regular gif and animatedgif, the difference?

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    Hey guys. Is there anything in the code of a gif that can tell me (or my app) that it is animated?

    I want to delete all gifs that are not animated.

    FOr example


    for x = 1 to (number of gifs)
    if gif(x) (is not an ANIMATED gif) Then Kill (gif(x))
    NEXT X

    I havent found anything in the readible text of the file, but maybe it's part of the other info.

    Any ideas?
    Thanks.

    Wengang
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  2. #2
    Lively Member
    Join Date
    Aug 2000
    Posts
    125
    my gif control has a frames property

    so if frames < 2 then it is not animated

  3. #3

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    sorry, what gif control is that? I don't have anything with gif on it in my components list.
    Thanks
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width