Class TIFFFile
Represents the binary view of a TIFF file.
Inherited Members
Namespace: ExifLibrary
Assembly: ExifLibrary.dll
Syntax
public class TIFFFile : ImageFile
Constructors
| Improve this Doc View SourceTIFFFile(MemoryStream, Encoding)
Initializes a new instance of the TIFFFile class from the specified data stream.
Declaration
protected TIFFFile(MemoryStream stream, Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | stream | A stream that contains image data. |
System.Text.Encoding | encoding | The encoding to be used for text metadata when the source encoding is unknown. |
Properties
| Improve this Doc View SourceIFDs
Gets the image file directories.
Declaration
public List<ImageFileDirectory> IFDs { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ImageFileDirectory> |
TIFFHeader
Gets the TIFF header.
Declaration
public TIFFHeader TIFFHeader { get; }
Property Value
Type | Description |
---|---|
TIFFHeader |
Methods
| Improve this Doc View SourceCrush()
Decreases file size by removing all metadata.
Declaration
public override void Crush()
Overrides
| Improve this Doc View SourceSaveInternal(MemoryStream)
Saves the ImageFile to the given stream.
Declaration
protected override void SaveInternal(MemoryStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | stream | The data stream used to save the image. |