[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Graphics' (#lcl)

# TTiffImage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements support for the TIFF (Tag Image File Format) graphic format.

## Declaration

Source position: graphics.pp line 1846

`type TTiffImage = class(TFPImageBitmap)`
`protected`
`procedure InitializeReader(); override;` |  | Initializes the FCL-compatible image reader for the image.
`procedure InitializeWriter(); override;` |  | Initializes the FCL-compatible image writer for the image.
`procedure FinalizeReader(); override;` |  | Captures values from the image reader after loading an image.
`class function GetReaderClass; override;` |  | Gets the class reference used to create new instances of the FCL-compatible image reader.
`class function GetWriterClass; override;` |  | Gets the class reference used to create new instances of the FCL-compatible image writer.
`class function GetSharedImageClass; override;` |  | Gets the class reference used to create new shared image instances in the class.
`public`
`constructor Create; override;` |  | Constructor for the class instance.
`class function GetFileExtensions; override;` |  | Gets the delimited list of file extension(s) for files which support the image format.
`property Artist: string; [rw]` |  | Person who created the image.
`property Copyright: string; [rw]` |  | Copyright notice for the image.
`property DateTime: TDateTime; [rw]` |  | Date and time the image was created.
`property DocumentName: string; [rw]` |  | Name of the document from which the image was scanned.
`property HostComputer: string; [rw]` |  | The computer and/or operating system where the image was created.
`property ImageDescription: string; [rw]` |  | A string that describes the subject of the image.
`property Make: string; [rw]` |  | The scanner manufacturer.
`property Model: string; [rw]` |  | The scanner model name or number.
`property ResolutionUnit: TTiffUnit; [rw]` |  | The unit of measurement for XResolution and YResolution.
`property Software: string; [rw]` |  | Name and version number for the software used to create the image.
`property XResolution: TTiffRational; [rw]` |  | Number of pixels in ResolutionUnits for the image width.
`property YResolution: TTiffRational; [rw]` |  | Number of pixels in ResolutionUnits for the image height.
`end;`

## Inheritance

`TTiffImage` |  | Implements support for the TIFF (Tag Image File Format) graphic format.
`TFPImageBitmap` |  | Implements a Bitmap using the FPImage reader and writer from the FCL.
`TCustomBitmap` |  | TCustomBitmap - the base class for TBitmap.
`TRasterImage` |  | TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information.
`TGraphic` |  | Abstract base class used for images in supported image formats.
`TPersistent`
?
`TObject`

## Description

TTiffImage is a TFPImageBitmap descendant which implements support for the TIFF (Tag Image File Format) image format.

It is a raster graphics image format. TIFF is widely supported by scanning, faxing, word processing, optical character recognition, image manipulation, desktop publishing, and page-layout applications. TIFF was created for use as a common image format for scanners. Various revisions to the specification have added grayscale and color support to the image format. It is a popular format for deep-color images.

TIFF images use .TIF or .TIFF file extensions, and the MIME types 'image/TIF' or 'image/TIFF'.

TTiffImage implements the class methods from the ancestor class which get FCL TFPCustomImageReaderClass and TFPCustomImageWriterClass instances, as well as the shared graphics class instance for the image format.

TTiffImage has properties which expose values for Baseline Tags in the image data, including:

- Artist
- Copyright
- DateTime
- DocumentName
- HostComputer
- ImageDescription
- Make
- Model
- ResolutionUnit
- Software
- XResolution
- YResolution

## See also

TFPImageBitmap |  | Implements a Bitmap using the FPImage reader and writer from the FCL.