ReverseImage
图像处理
描述
此函数反转选定图像中颜色分量的解释,例如,绿色像素 (0, 255, 0) 会变为紫色像素 (255, 0, 255),黑色像素会变为白色像素
语法
Delphi
Function TPDFlib.ReverseImage(Reset: Integer): Integer;
ActiveX
Function PDFlib::ReverseImage(Reset As Long) As Long
DLL
int DLReverseImage(int InstanceID, int Reset);
参数
| Reset | 指示是否移除图像字典中的 /Decode 参数,当图像在 Acrobat 4.0 中用作模板蒙版时需要此操作,但对不同源图像类型(BMP、TIFF 和 PNG)结果可能不同,必须进行试验,0 = 保留 /Decode 数组并反转图像;1 = 移除 /Decode 数组 |
|---|