PdfSetJpegQuality Method

See Also     Examples     Applies To

Changes the level of quality used to compress true color image data within any pdf generated by this class.

Syntax

object.PdfSetJpegQuality (nQuality)

The PdfSetJpegQuality syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nQuality Required. Long. Compression level [0 to 100]. 0: worse quality and better compression, 100: best quality and worse compression.

Remarks

Jpeg quality level is available only for 8bpp grayscale and non indexed color image. This function has not effect on 1, 4 & 8 bpp (non grayscale) image compression.

Category

PDF Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.