Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.GetCompressionLevel

Returns the active compression level.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetCompressionLevel"; PDF )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns compression level or error.

Description

Returns the active compression level.
JPEG images are compressed with optimized Huffmann tables if the compression level is clMax. This results in 5% to 10% better compression ratio without losing quality. The compression level can also be used to switch the compression mode to real or integer when using the JPEG2000 compression filter (see also DynaPDF.InsertImage).
See also DynaPDF.SetCompressionLevel.

See also GetCompressionLevel function in DynaPDF manual.

See also


DynaPDF.GetCompressionFilter   -   DynaPDF.GetContent

Feedback: Report problem or ask question.




Links
MBS FileMaker blog