ReverseImage
Image handling
Description
This function reverses the interpretation of the color components in the selected image. For example, a green pixel (0, 255, 0) will become a purple pixel (255, 0, 255) and a black pixel will become a while pixel.
Syntax
Delphi
function TPDFlib.ReverseImage(Reset: Integer): Integer;ActiveX
Function PDFlib::ReverseImage(Reset As Long) As LongDLL
int DLReverseImage(int InstanceID, int Reset);Parameters
| Reset | Indicates whether the /Decode parameter in the image dictionary should be removed. This is necessary when the image is used as a stencil mask in Acrobat 4.0, but may give different results for different source image types (BMP, TIFF and PNG). Experimentation will be necessary. 0 = Keep the /Decode array and reverse the image 1 = Remove the /Decode array |
|---|