VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / TiffEncoderSettings Class / SupportLegacyTiffViewers Property
Syntax Remarks Requirements SeeAlso
In This Topic
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
'Declaration

<DescriptionAttribute("A value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.")>
<DefaultValueAttribute(False)>
Public Property SupportLegacyTiffViewers As Boolean

[Description("A value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.")]
[DefaultValue(False)]
public bool SupportLegacyTiffViewers { get; set; }

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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also