Class TiffFrameMetadata
- Namespace
- SixLabors.ImageSharp.Formats.Tiff
- Assembly
- SixLabors.ImageSharp.dll
Provides Tiff specific metadata information for the frame.
public class TiffFrameMetadata : IFormatFrameMetadata<TiffFrameMetadata>, IFormatFrameMetadata, IDeepCloneable, IDeepCloneable<TiffFrameMetadata>
- Inheritance
-
TiffFrameMetadata
- Implements
- Inherited Members
Constructors
TiffFrameMetadata()
Initializes a new instance of the TiffFrameMetadata class.
public TiffFrameMetadata()
Properties
BitsPerPixel
Gets or sets the bits per pixel.
public TiffBitsPerPixel BitsPerPixel { get; set; }
Property Value
BitsPerSample
Gets or sets number of bits per component.
public TiffBitsPerSample BitsPerSample { get; set; }
Property Value
Compression
Gets or sets the compression scheme used on the image data.
public TiffCompression Compression { get; set; }
Property Value
EncodingHeight
Gets or sets the encoding height.
public int EncodingHeight { get; set; }
Property Value
EncodingWidth
Gets or sets the encoding width.
public int EncodingWidth { get; set; }
Property Value
InkSet
Gets or sets the set of inks used in a separated (Separated) image.
public TiffInkSet? InkSet { get; set; }
Property Value
LocalColorTable
Gets or sets the local color table, if any.
public ReadOnlyMemory<Color>? LocalColorTable { get; set; }
Property Value
PhotometricInterpretation
Gets or sets the color space of the image data.
public TiffPhotometricInterpretation PhotometricInterpretation { get; set; }
Property Value
Predictor
Gets or sets a mathematical operator that is applied to the image data before an encoding scheme is applied.
public TiffPredictor Predictor { get; set; }
Property Value
Methods
AfterFrameApply<TPixel>(ImageFrame<TPixel>, ImageFrame<TPixel>, Matrix4x4)
This method is called after a process has been applied to the image frame.
public void AfterFrameApply<TPixel>(ImageFrame<TPixel> source, ImageFrame<TPixel> destination, Matrix4x4 matrix) where TPixel : unmanaged, IPixel<TPixel>
Parameters
sourceImageFrame<TPixel>The source image frame.
destinationImageFrame<TPixel>The destination image frame.
matrixMatrix4x4The transformation matrix applied to the image frame.
Type Parameters
TPixelThe type of pixel format.
DeepClone()
Creates a new TiffFrameMetadata that is a deep copy of the current instance.
public TiffFrameMetadata DeepClone()
Returns
FromFormatConnectingFrameMetadata(FormatConnectingFrameMetadata)
Creates a new instance of the TiffFrameMetadata class from the given FormatConnectingFrameMetadata.
public static TiffFrameMetadata FromFormatConnectingFrameMetadata(FormatConnectingFrameMetadata metadata)
Parameters
metadataFormatConnectingFrameMetadata
Returns
ToFormatConnectingFrameMetadata()
Converts the metadata to a FormatConnectingFrameMetadata instance.
public FormatConnectingFrameMetadata ToFormatConnectingFrameMetadata()