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

Safe HaskellNone
LanguageHaskell2010

Codec.Picture.Tiff.Internal.Types

Synopsis

Documentation

class BinaryParam a b where Source #

Because having a polymorphic get with endianness is to nice to pass on, introducing this helper type class, which is just a superset of Binary, but formalising a parameter passing into it.

Methods

getP :: a -> Get b Source #

putP :: a -> b -> Put Source #

Instances
BinaryParam Endianness Int32 Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness Word16 Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness Word32 Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness ExifTag Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness ImageFileDirectory Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness [ImageFileDirectory] Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam ByteString (TiffHeader, [[ImageFileDirectory]]) Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam (Endianness, Int, ImageFileDirectory) ExifData Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

data Endianness Source #

Constructors

EndianLittle 
EndianBig 
Instances
Eq Endianness Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Show Endianness Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Binary Endianness Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness Int32 Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness Word16 Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness Word32 Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness ExifTag Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness ImageFileDirectory Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam Endianness [ImageFileDirectory] Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

BinaryParam (Endianness, Int, ImageFileDirectory) ExifData Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

word16OfTag :: ExifTag -> Word16 Source #

Convert a tag to it's corresponding value.