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

Safe HaskellNone

Codec.Picture.Tiff

Description

Module implementing TIFF decoding.

Supported compression schemes :

  • Uncompressed
  • PackBits
  • LZW

Supported bit depth :

  • 2 bits
  • 4 bits
  • 8 bits
  • 16 bits

Synopsis

Documentation

decodeTiff :: ByteString -> Either String DynamicImageSource

Transform a raw tiff image to an image, without modifying the underlying pixel type.

This function can output the following pixel types :

  • PixelY8
  • PixelY16
  • PixelRGB8
  • PixelRGB16
  • PixelCMYK8
  • PixelCMYK16