Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

DynaPDF.SetTransparentColor

Sets the transparent color which is used for newly inserted images.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetTransparentColor"; PDF; ColorValue )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
ColorValue Color value defined in current color space MBS("DynaPDF.RGB"; 255; 0; 0)

Result

Returns OK or error.

Description

Sets the transparent color which is used for newly inserted images.
Due to color interpolation during decompression of JPEG images, it not always possible to mask JPEG compressed images correctly.
Default value = 16777215 (RGB White)

See also SetTransparentColor function in DynaPDF manual.

See also

Created 6th February 2015, last changed 6th February 2015


DynaPDF.SetTextScaling - DynaPDF.SetTrapped

Feedback: Report problem or ask question.