Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provide a totally partial and incomplete maping of Exif values. Used for Tiff parsing and reused for Exif extraction.
Synopsis
- data ExifTag
- = TagPhotometricInterpretation
- | TagCompression
- | TagImageWidth
- | TagImageLength
- | TagXResolution
- | TagYResolution
- | TagResolutionUnit
- | TagRowPerStrip
- | TagStripByteCounts
- | TagStripOffsets
- | TagBitsPerSample
- | TagColorMap
- | TagTileWidth
- | TagTileLength
- | TagTileOffset
- | TagTileByteCount
- | TagSamplesPerPixel
- | TagArtist
- | TagDocumentName
- | TagSoftware
- | TagPlanarConfiguration
- | TagOrientation
- | TagSampleFormat
- | TagInkSet
- | TagSubfileType
- | TagFillOrder
- | TagYCbCrCoeff
- | TagYCbCrSubsampling
- | TagYCbCrPositioning
- | TagReferenceBlackWhite
- | TagXPosition
- | TagYPosition
- | TagExtraSample
- | TagImageDescription
- | TagPredictor
- | TagCopyright
- | TagMake
- | TagModel
- | TagDateTime
- | TagGPSInfo
- | TagLightSource
- | TagFlash
- | TagJpegProc
- | TagJPEGInterchangeFormat
- | TagJPEGInterchangeFormatLength
- | TagJPEGRestartInterval
- | TagJPEGLosslessPredictors
- | TagJPEGPointTransforms
- | TagJPEGQTables
- | TagJPEGDCTables
- | TagJPEGACTables
- | TagExifOffset
- | TagUnknown !Word16
- data ExifData
- = ExifNone
- | ExifLong !Word32
- | ExifShort !Word16
- | ExifString !ByteString
- | ExifUndefined !ByteString
- | ExifShorts !(Vector Word16)
- | ExifLongs !(Vector Word32)
- | ExifRational !Word32 !Word32
- | ExifSignedRational !Int32 !Int32
- | ExifIFD ![(ExifTag, ExifData)]
- tagOfWord16 :: Word16 -> ExifTag
- word16OfTag :: ExifTag -> Word16
- isInIFD0 :: ExifTag -> Bool
Documentation
Tag values used for exif fields. Completly incomplete
Instances
Eq ExifTag Source # | |
Ord ExifTag Source # | |
Defined in Codec.Picture.Metadata.Exif | |
Show ExifTag Source # | |
NFData ExifTag Source # | |
Defined in Codec.Picture.Metadata.Exif | |
BinaryParam Endianness ExifTag Source # | |
Defined in Codec.Picture.Tiff.Internal.Types |
Possible data held by an Exif tag
Instances
Show ExifData Source # | |
NFData ExifData Source # | |
Defined in Codec.Picture.Metadata.Exif | |
BinaryParam (Endianness, Int, ImageFileDirectory) ExifData Source # | |
Defined in Codec.Picture.Tiff.Internal.Types getP :: (Endianness, Int, ImageFileDirectory) -> Get ExifData Source # putP :: (Endianness, Int, ImageFileDirectory) -> ExifData -> Put Source # |
tagOfWord16 :: Word16 -> ExifTag Source #
Convert a value to it's corresponding Exif tag.
Will often be written as TagUnknown
word16OfTag :: ExifTag -> Word16 Source #
Convert a tag to it's corresponding value.