Export (0) Print
Expand All

TIFF Format Overview

This topic provides information about the native TIFF codec available through Windows Imaging Component (WIC).

Codec Identity

The following table provides codec identification information.

Formal Name(s)Tagged Image File Format (TIFF)
File Name Extension(s)tiff, tif
MIME type(s)image/tiff, image/tif
Specification SupportTIFF Specification 6.0

 

The following table lists the GUIDs used to identify the native TIFF codec components.

ComponentFriendly NameGUID
Container FormatGUID_ContainerFormatTiff163bcc30-e2e9-4f0b-961da3e9fdb788a3
DecoderCLSID_WICTiffDecoderb54e85d9-fe23-499f-8b886acea7137502b
EncoderCLSID_WICTiffEncoder0131be10-2001-4c5f-a9b0cc88fab64ce8

 

Encoding

The WIC encoding API are designed to be codec-independent and image encoding for WIC-enabled codecs is essentially the same. For more information about image encoding using the WIC API, see the Encoding Overview.

Encoder Options

WIC-enabled codecs differ at the encoding option level. Encoder options reflect the capabilities of an image encoder and each native codec supports a set of these encoder options. Encoder options can be basic WIC supported options available to all WIC enabled codes (though not necessarily supported) or codec-specific options designed by the image format codec. To manage these encoding options during the encoding process, WIC uses the IPropertyBag2 interface . For more information about using the IPropertyBag2 interface for WIC encoding , see the Encoding Overview.

The TIFF codec uses basic WIC options. The following table lists the WIC encoder options supported by the native TIFF codec.

Basic WIC Encoder Options
Property NameVARTYPEValue RangeDefault Value
CompressionQualityVT_R40 - 1.0
TIFFCompressionMethodVT_UI1 WICTiffCompressionOption WICTiffCompressionDontCare

 

If an encoder option is present in the IPropertyBag2 option list that the codec does not support, it is ignored.

CompressionQuality Option

Specifies the desired compression quality. 0.0 indicates the efficient compression schema available. Typically, this schema results in a faster encode but larger output. A value of 1.0 specifies the most efficient compression schema available. Typically, this schema results in a longer encode but producing smaller output.

The default value is .

TIFFCompressionMethod Option

Specifies the TIFF compression method.

The default value is WICTiffCompressionDontCare.

Decoding

The WIC decoding API are designed to be codec-independent and image decoding for WIC-enabled codecs is essentially the same. For more information about image decoding, see the Decoding Overview. For more information about using decoded image data, see the Bitmap Sources Overview.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft