JuicyPixels-2.0: Picture loading/serialization (in png, jpeg, bitmap and gif)

Safe HaskellNone

Codec.Picture.Gif

Description

Module implementing GIF decoding.

Synopsis

Documentation

decodeGif :: ByteString -> Either String DynamicImageSource

Transform a raw gif image to an image, witout modifying the pixels. This function can output the following pixel types :

  • PixelRGB8

decodeGifImages :: ByteString -> Either String [Image PixelRGB8]Source

Transform a raw gif to a list of images, representing all the images of an animation.