Enum image

CompressQuality

Namespace: Datalogics::PDFL

Description

Establish the compression quality to be used in compression schemas that allow variable quality. (JPEG, JPEG2000, JBIG2). Unset should be selected for compression schemes that are inherently lossless (Flate, CCITTG3, or CCITTG4). JBIG2 may select any value. JPEG and JPEG2000 can select any value between Minimum and Maximum, but should not select Unset or Lossless.

Values

Unset = 0

No Quality is selected. This is appropriate for Flate, JBIG2, CCITTG3, or CCITTG4 compression.

Minimum = 1

For JPEG, this will equate to a QFactor of 1.3. For JPEG2000, this will equate to Quality of 0. For JBIG2, this will equate to a JB2Quality of 4.

Low = 2

For JPEG, this will equate to a QFactor of 0.75. For JPEG2000, this will equate to Quality of 25. For JBIG2, this will equate to a JB2Quality of 5.

Medium = 3

For JPEG, this will equate to a QFactor of 0.5. For JPEG2000, this will equate to Quality of 50. For JBIG2, this will equate to a JB2Quality of 7.

High = 4

For JPEG, this will equate to a QFactor of 0.25. For JPEG2000, this will equate to Quality of 75. For JBIG2, this will equate to a JB2Quality of 9.

Maximum = 5

For JPEG, this will equate to a QFactor of 0.15. For JPEG2000, this will equate to Quality of 100. For JBIG2, this will equate to a JB2Quality of 10.

Lossless = 6

This may ONLY be selected for Flate, CCITTG3, CCITTG4, and JBIG2