MATLAB: Frame of Animated Gif

animated gif

Hi, all. I want to make a steganography program using LSB in matlab. I use animated GIF for the cover object. As we know that Animated GIF is a file that consists of many images. So, can anyone tell me: How to get the frame number of this file in matlab? Thanks before.

Best Answer

Read all of the frames using imread(), and then look at the size of what is returned.
Related Question