[]
Represents a single frame in TIFF file.
public class TiffFrame
Gets a string that describes a person who created the image.
public string Artist { get; }
Gets a string with image copyright notice.
public string Copyright { get; }
Gets a string with date and time of image creation in “YYYY:MM:DD HH:MM:SS”, with hours like those on a 24-hour clock, and one space character between the date and the time.
public string DateTime { get; }
Gets the horizontal DPI of the image.
public float DpiX { get; }
Gets the vertical DPI of the image.
public float DpiY { get; }
Gets or sets an instance of ExifProfile with Exif metadata of the image.
public ExifProfile ExifProfile { get; set; }
Gets the index of the frame in the associated TIFF file.
public int FrameIndex { get; }
Gets a string that describes the computer and/or operating system in use at the time of image creation.
public string HostComputer { get; }
Gets a string that describes the subject of the image.
public string ImageDescription { get; }
Gets the number of rows (sometimes described as scanlines) in the image.
public int ImageLength { get; }
Gets the number of columns in the image, i.e., the number of pixels per scanline.
public int ImageWidth { get; }
Gets a value indicating if the frame can be read as a BilevelBitmap.
public bool IsBilevelBitmap { get; }
Gets a value indicating if the frame can be read as a GrayscaleBitmap.
public bool IsGrayscaleBitmap { get; }
Gets a value indicating if the frame can be read as a Indexed4bppBitmap.
public bool IsIndexed4bppBitmap { get; }
Gets a value indicating if the frame can be read as a Indexed8bppBitmap.
public bool IsIndexed8bppBitmap { get; }
Gets a value indicating whether or not an image can be read from the TIFF frame.
public bool IsValid { get; }
Gets a string that describes the scanner manufacturer.
public string Make { get; }
Gets a string with the scanner model name or number.
public string Model { get; }
Gets a value indicating whether the alpha channel of the image should be ignored.
public bool Opaque { get; }
Gets the orientation of the image.
public TiffOrientation Orientation { get; }
Gets the chromaticities of the primaries of the image.
public float[] PrimaryChromaticities { get; }
Gets the associated GcTiffReader.
public GcTiffReader Reader { get; }
Gets a string with the name and version number of the software package(s) used to create the image.
public string Software { get; }
Gets a value specifying the reason if an image cannot be loaded from the TIFF frame.
public TiffValidationResult ValidationResult { get; }
Gets the chromaticity of the white point of the image.
public float[] WhitePoint { get; }
Gets the frame image as a BilevelBitmap.
public BilevelBitmap ReadAsBilevelBitmap(bool cloneExif = true)
cloneExif
boolSpecifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.
BilevelBitmap or null if the image is not in bi-level format.
Gets the frame image as a GrayscaleBitmap.
public GrayscaleBitmap ReadAsGrayscaleBitmap(bool cloneExif = true)
cloneExif
boolSpecifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.
GrayscaleBitmap or null if the image is not in grayscale 8bpp format.
Gets the frame image as a Indexed4bppBitmap.
public Indexed4bppBitmap ReadAsIndexed4bppBitmap(bool cloneExif = true)
cloneExif
boolSpecifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.
Indexed4bppBitmap or null if the image is not in palette-color 4bpp format.
Gets the frame image as a Indexed8bppBitmap.
public Indexed8bppBitmap ReadAsIndexed8bppBitmap(bool cloneExif = true)
cloneExif
boolSpecifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.
Indexed8bppBitmap or null if the image is not in palette-color 8bpp format.
Gets the frame image as a GcBitmap.
public GcBitmap ToGcBitmap()
Reads the frame image into an existing GcBitmap.
public void ToGcBitmap(GcBitmap bmp, bool cloneExif)
bmp
GcBitmapThe target GcBitmap object.
cloneExif
boolSpecifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.
Creates an Image object for the frame.
public Image ToImage(ImageBinding binding = ImageBinding.FilePath)
binding
ImageBindingSpecifies how the image data is attached to the Image object.