Results 1 to 4 of 4

Thread: animated gif

  1. #1
    Zexor's Avatar
    Zexor is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.5
    Join Date
    Nov 2008
    Posts
    426
    Reputation
    113

    animated gif

    is there a way to tell if the image currently display in a picturebox is an animated gif?

  2. #2
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.5
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    15,090
    Reputation
    2804
    How to format posts with code blocks etc - present the problem/post properly

    Visual Studio Community 2017

  3. #3
    Zexor's Avatar
    Zexor is offline VB.NET Forum Miyagee
    .NET Framework
    .NET 4.5
    Join Date
    Nov 2008
    Posts
    426
    Reputation
    113
    Can you stop the image from animating? I got the framecount from that method. So i would need to count it inside Paint? But how do i stop the animation after one cycle?

  4. #4
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.5
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    15,090
    Reputation
    2804
    how do i stop the animation after one cycle?
    Try ImageAnimator class, here one example VS 2010 Loop Once Through an Animated GIF-VBForums
    How to format posts with code blocks etc - present the problem/post properly

    Visual Studio Community 2017

Bookmarks

Posting Permissions

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