VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / TiffEncoderSettings Class / SupportLegacyTiffViewers Property
Syntax Remarks Requirements SeeAlso
    SupportLegacyTiffViewers Property (TiffEncoderSettings)
    Gets or sets a value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(False)>
    <DescriptionAttribute("A value indicating whether the encoder must create TIFF files, which are compatible with legacy TIFF viewers.")>
    Public Property SupportLegacyTiffViewers As Boolean
    
    
     

    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