SupportLegacyTiffViewers Property (TiffEncoderSettings)
In This Topic
Gets or sets a value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.
Syntax
[DefaultValue(False)]
[Description("A value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.")]
public bool SupportLegacyTiffViewers { get; set; }
[DefaultValue(False)]
[Description("A value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.")]
public: __property bool get_SupportLegacyTiffViewers();
public: __property void set_SupportLegacyTiffViewers(
bool
);
[DefaultValue(False)]
[Description("A value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.")]
public:
property bool SupportLegacyTiffViewers {
bool get();
void set(bool );
}
Property Value
True - encoder will create TIFF files, which are compatible with legacy TIFF viewers;
false - encoder CAN create TIFF files, which are NOT compatible with legacy TIFF viewers.
Default value is false.
Remarks
Old TIFF specification allows to store the StripByteCounts tag data only as Long values. Current TIFF specification allows to store the StripByteCounts tag data as Short and Long values.
By default TIFF encoder optimizes the StripByteCounts tag data and tries to store tag data as Short values because this allows to create smaller TIFF file.
Also TIFF encoder optimizes the data of some other TIFF tags.
This property allows to disable the optimization and guarantee that created TIFF file will be compatible with legacy TIFF viewers.
Requirements
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
See Also