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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    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 )


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

DynaPDF.GetIsTaggingEnabled   -   DynaPDF.GetJavaScriptCount

Feedback: Report problem or ask question.

MBS Xojo Plugins