Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Converts colors to gray.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 9.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Flags | The mode to operate. Can be BW_To_Gray (RGB and B/W to gray), RGB_To_Gray (RGB to gray), ToGrayAdjust (Lighten or darken colors). |
"BW_To_Gray" | |
Add | The value for ToGrayAdjust flag. | 1.0 | Optional |
Returns OK or error.
See also ConvertColors function in DynaPDF manual.
This function checks for a license.
Created 17th April 2019, last changed 17th April 2019