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  

DynaPDF.SetSaveNewImageFormat

Whether to recompress images.

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

MBS( "DynaPDF.SetSaveNewImageFormat"; PDF; Value )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Value Wether to recompress images. Value can be 0 or 1. 0

Result

Returns OK on success.

Description

Whether to recompress images.
The property SaveNewImageFormat specifies whether images should be downscaled if the original resolution of the image is higher than the value of the property resolution (see also DynaPDF.SetResolution). If the property SaveNewImageFormat is false, JPEG compressed images will be inserted in pass- through mode as long as the image is not a CMYK JPEG (such images must be converted because Acrobat viewer require another byte order).
Default value = true

See also SetSaveNewImageFormat function in DynaPDF manual.

Examples

Pass through JPEGs if possible:

MBS( "DynaPDF.SetSaveNewImageFormat"; $PDF; 0 )

See also

Example Databases


DynaPDF.SetResolution   -   DynaPDF.SetSeparationInfo

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins