PdfSettings.Compression Property

Gets or sets PDF compression type.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public CompressionType Compression { get; set; }

Property Value

A CompressionType to write the image with. The default value is Zip.

Remarks

PDF format supports the following compression types:

Compression Type Limitations
None No limitations. Supported with all pixel formats allowed for PDF files.
Zip No limitations. Supported with all pixel formats allowed for PDF files.
Jpeg Can be used only with those pixel formats which are supported by JPEG (non-extended and non-indexed grayscale, RGB, and CMYK images). To adjust JPEG quality, use Quality property.

See Also

Reference