CompressionType

NI Vision for LabWindows/CVI Function

CompressionType

Indicates how to compress the image for flattening.

Elements

Name

Value

Description

IMAQ_COMPRESSION_NONE 0 Specifies that the function should not compress the image.
IMAQ_COMPRESSION_JPEG 1 Specifies that the function should use lossy JPEG compression on the image. JPEG compression may cause data degradation in the flattened data.
IMAQ_COMPRESSION_PACKED_BINARY 2 Specifies that the function should use lossless binary packing on the image. This setting is ideal for preserving data integrity when flattening binary images. Do not use this setting for nonbinary images.
IMAQ_COMPRESSION_TYPE_SIZE_GUARD 0xFFFFFFFF Reserved