JuicyPixels-3.3.9: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)
Safe HaskellSafe-Inferred
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

Instances details
BinaryParam Endianness ExifTag 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 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 [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

Instances details
Show Endianness Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Binary Endianness Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Eq Endianness 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 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 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 [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 IfdType Source #

Instances

Instances details
Generic IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Associated Types

type Rep IfdType :: Type -> Type #

Methods

from :: IfdType -> Rep IfdType x #

to :: Rep IfdType x -> IfdType #

Show IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

NFData IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Methods

rnf :: IfdType -> () #

Eq IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Methods

(==) :: IfdType -> IfdType -> Bool #

(/=) :: IfdType -> IfdType -> Bool #

BinaryParam Endianness IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

type Rep IfdType Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

type Rep IfdType = D1 ('MetaData "IfdType" "Codec.Picture.Tiff.Internal.Types" "JuicyPixels-3.3.9-8TrKyMTj3IQ4xY3eA8GFM4" 'False) (((C1 ('MetaCons "TypeByte" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeAscii" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeShort" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "TypeLong" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeRational" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeSByte" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TypeUndefined" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeSignedShort" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeSignedLong" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "TypeSignedRational" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeFloat" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeDouble" 'PrefixI 'False) (U1 :: Type -> Type)))))

data ImageFileDirectory Source #

Instances

Instances details
Generic ImageFileDirectory Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Associated Types

type Rep ImageFileDirectory :: Type -> Type #

Show ImageFileDirectory Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

NFData ImageFileDirectory Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

Methods

rnf :: ImageFileDirectory -> () #

Eq ImageFileDirectory 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 [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

type Rep ImageFileDirectory Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

type Rep ImageFileDirectory = D1 ('MetaData "ImageFileDirectory" "Codec.Picture.Tiff.Internal.Types" "JuicyPixels-3.3.9-8TrKyMTj3IQ4xY3eA8GFM4" 'False) (C1 ('MetaCons "ImageFileDirectory" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ifdIdentifier") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ExifTag) :*: S1 ('MetaSel ('Just "ifdType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IfdType)) :*: (S1 ('MetaSel ('Just "ifdCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: (S1 ('MetaSel ('Just "ifdOffset") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "ifdExtended") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ExifData)))))

data Predictor Source #

Instances

Instances details
Eq Predictor Source # 
Instance details

Defined in Codec.Picture.Tiff.Internal.Types

word16OfTag :: ExifTag -> Word16 Source #

Convert a tag to it's corresponding value.