Back to Imagesharp

ImageSharp TIFF codec

src/ImageSharp/Formats/Tiff/README.md

3.1.1216.6 KB
Original Source

ImageSharp TIFF codec

References

Implementation Status

  • The Decoder currently only supports decoding multiframe images, which have the same dimensions.
  • Some compression formats are not yet supported. See the list below.

Compression Formats

EncoderDecoderComments
NoneYY
Ccitt1DYY
PackBitsYY
CcittGroup3FaxYY
CcittGroup4FaxYY
LzwYYBased on ImageSharp GIF LZW implementation - this code could be modified to be (i) shared, or (ii) optimised for each case.
Old JpegYOnly with chunky configuration.
Jpeg (Technote 2)YY
Deflate (Technote 2)YYBased on PNG Deflate.
Old Deflate (Technote 2)Y
WebpY

Photometric Interpretation Formats

EncoderDecoderComments
WhiteIsZeroYYGeneral + 1/4/8-bit optimised implementations.
BlackIsZeroYYGeneral + 1/4/8-bit optimised implementations.
Rgb (Chunky)YYGeneral + Rgb888 optimised implementation.
Rgb (Planar)YGeneral implementation only.
PaletteColorYYGeneral implementation only.
TransparencyMask
Separated (TIFF Extension)Y
YCbCr (TIFF Extension)Y
CieLab (TIFF Extension)Y
IccLab (TechNote 1)
CMYKY
Tiled ImagesY

Baseline TIFF Tags

EncoderDecoderComments
NewSubfileType
SubfileType
ImageWidthYY
ImageLengthYY
BitsPerSampleYY
CompressionYY
PhotometricInterpretationYY
Thresholding
CellWidth
CellLength
FillOrderY
ImageDescriptionYY
MakeYY
ModelYY
StripOffsetsYY
Orientation-Ignore. Many readers ignore this tag.
SamplesPerPixelY-Currently ignored, as can be inferred from count of BitsPerSample.
RowsPerStripYY
StripByteCountsYY
MinSampleValue
MaxSampleValue
XResolutionYY
YResolutionYY
PlanarConfigurationYEncoding support only chunky.
FreeOffsets
FreeByteCounts
GrayResponseUnit
GrayResponseCurve
ResolutionUnitYY
SoftwareYY
DateTimeYY
ArtistYY
HostComputerYY
ColorMapYY
ExtraSamplesYUnspecified alpha data is not supported.
CopyrightYY

Extension TIFF Tags

EncoderDecoderComments
NewSubfileType
DocumentNameYY
PageName
XPosition
YPosition
T4OptionsY
T6Options
PageNumber
TransferFunction
PredictorYYonly Horizontal
WhitePoint
PrimaryChromaticities
HalftoneHints
TileWidth-
TileLength-
TileOffsets-
TileByteCounts-
BadFaxLines
CleanFaxData
ConsecutiveBadFaxLines
SubIFDs-
InkSetYCMYK
InkNames-
NumberOfInks-
DotRange
TargetPrinter
SampleFormat-
SMinSampleValue
SMaxSampleValue
TransferRange
ClipPath
XClipPathUnits
YClipPathUnits
Indexed
JPEGTables
OPIProxy
GlobalParametersIFD
ProfileType
FaxProfile
CodingMethods
VersionYear
ModeNumber
Decode
DefaultImageColor
JPEGProc
JPEGInterchangeFormat
JPEGInterchangeFormatLength
JPEGRestartInterval
JPEGLosslessPredictors
JPEGPointTransforms
JPEGQTables
JPEGDCTables
JPEGACTables
YCbCrCoefficientsY
YCbCrSubSamplingY
YCbCrPositioning
ReferenceBlackWhiteY
StripRowCounts--See RFC 2301 (File Format for Internet Fax).
XMPYY
ImageID
ImageLayer

Private TIFF Tags

EncoderDecoderComments
Wang Annotation
MD FileTag
MD ScalePixel
MD ColorTable
MD LabName
MD SampleInfo
MD PrepDate
MD PrepTime
MD FileUnits
ModelPixelScaleTag
IPTCYY
INGR Packet Data Tag
INGR Flag Registers
IrasB Transformation Matrix
ModelTiepointTag
ModelTransformationTag
Photoshop
Exif IFD-0x8769 SubExif
ICC ProfileYY
GeoKeyDirectoryTag
GeoDoubleParamsTag
GeoAsciiParamsTag
GPS IFD
HylaFAX FaxRecvParams
HylaFAX FaxSubAddress
HylaFAX FaxRecvTime
ImageSourceData
Interoperability IFD
GDAL_METADATA
GDAL_NODATA
Oce Scanjob Description
Oce Application Selector
Oce Identification Number
Oce ImageLogic Characteristics
DNGVersion
DNGBackwardVersion
UniqueCameraModel
LocalizedCameraModel
CFAPlaneColor
CFALayout
LinearizationTable
BlackLevelRepeatDim
BlackLevel
BlackLevelDeltaH
BlackLevelDeltaV
WhiteLevel
DefaultScale
DefaultCropOrigin
DefaultCropSize
ColorMatrix1
ColorMatrix2
CameraCalibration1
CameraCalibration2
ReductionMatrix1
ReductionMatrix2
AnalogBalance
AsShotNeutral
AsShotWhiteXY
BaselineExposure
BaselineNoise
BaselineSharpness
BayerGreenSplit
LinearResponseLimit
CameraSerialNumber
LensInfo
ChromaBlurRadius
AntiAliasStrength
DNGPrivateData
MakerNoteSafety
CalibrationIlluminant1
CalibrationIlluminant2
BestQualityScale
Alias Layer Metadata