Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Returns the active compression level.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetCompressionLevel"; PDF )   More


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


Returns compression level or error.


Returns the active compression level.
JPEG images are compressed with optimized Huffmann tables if the compression level is Max. 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

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 30th November 2019

DynaPDF.GetCompressionFilter - DynaPDF.GetContent