Detecting multiframe GIF
- DeanH
- Enthusiast

- Posts: 281
- Joined: Wed May 07, 2008 4:57 am
- Location: Adelaide, South Australia
- Contact:
Detecting multiframe GIF
I need to be able to detect if a GIF image file is multiframe or not, to avoid crashing when ResizeImage is used. Does anyone know how to do this?
Re: Detecting multiframe GIF
Does ImageFrameCount(Image) > 1 tell you what you need?
- DeanH
- Enthusiast

- Posts: 281
- Joined: Wed May 07, 2008 4:57 am
- Location: Adelaide, South Australia
- Contact:
Re: Detecting multiframe GIF
Yes! That's perfect. I didn't know that function existed. I can check the count before trying a resize. Thank you!
