dragon66 / icafe

Java library for reading, writing, converting and manipulating images and metadata
Eclipse Public License 1.0
204 stars 58 forks source link

Enhancement to extract individual GIF frame as GIFFrame #21

Closed dragon66 closed 8 years ago

dragon66 commented 8 years ago

In some occasions like we want to modify an existing animated GIF, it would be ideal if we could grab the frame as GIFFrame. Then we can modify the properties such as the delay of it and save the frames back as an animated GIF.

dragon66 commented 8 years ago

Added getGIFFrames() to GIFReader to extract all the frames as a list of GIFFrame.

dragon66 commented 8 years ago

Removed frame specific methods from GIFReader. Added sub-class FrameReader to read GIFFrame one at a time.