CompressionMethod Property

NI Vision for Visual Basic

CompressionMethod Property

Syntax

CWIMAQTIFFFileOptions.CompressionMethod

Data Type

CWIMAQTIFFCompressionMethods

You can use the following constants with this data type:

  • cwimaqTIFFCompressionJPEG—Applies JPEG compression when CWIMAQVision.WriteTIFFFile writes the TIFF file. JPEG compression is not a valid constant for signed 16-bit or unsigned 64-bit RGB images.
  • cwimaqTIFFCompressionNone—Does not apply compression when CWIMAQVision.WriteTIFFFile writes the TIFF file.
  • cwimaqTIFFCompressionRunLength—Uses Run Length encoding when CWIMAQVision.WriteTIFFFile writes the TIFF file.
  • cwimaqTIFFCompressionZip—Applies Zip compression when CWIMAQVision.WriteTIFFFile writes the TIFF file.

Purpose

Type of compression to use on the TIFF.