Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Queries the JPEG compression quality.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.1 Yes Yes Yes Yes Yes
MBS( "DynaPDF.GetJPEGQuality"; PDF )   More


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


Returns JPEG quality number (0 to 100)


Queries the JPEG compression quality.
The function returns the current JPEG compression quality which is used when compressing images with the JPEG or JPEG2000 compression filter. The return value can be negative indicating that the pass-through mode is disabled. The absolute value represents the whished image quality in percent if the JPEG compression filter is used.
If the JPEG2000 compression filter is used the value represents a divisor of the uncompressed image size to the whished compressed image size. The absolute value ranges from 0 to 1000. If the value is 0 or 1000 then the loss-less variant of JPEG2000 compression is used (see also DynaPDF.SetJPEGQuality).

See also GetJPEGQuality function in DynaPDF manual.

See also

Created 18th August 2014, last changed 18th August 2014

DynaPDF.GetIsTaggingEnabled   -   DynaPDF.GetJavaScriptCount

Feedback: Report problem or ask question.

MBS Xojo Plugins