GetPictureFlags
The GP_ prefixed flags are used as a mask in some methods of the Image object. The mask is an OR combination of these flags' values and define how the image should be converted in this method.
module GetPictureFlags { const int GP_ScaleToGray = 0x00000001; const int GP_ReduceToHighColor = 0x00000002; const int GP_ReduceToGray = 0x00000004; }
Elements
Flag name | Description |
---|---|
GP_ScaleToGray | For black-and-white image page and the stretch ratio <1, as defined by the ImageModification object, a gray bitmap will be created and returned by the method. |
GP_ReduceToHighColor | For color image page the presence of this flag reduces the number of its colors to 65536, that corresponds to high color. |
GP_ReduceToGray | For color image page a gray bitmap will be created and returned by the method. |
Used in
15.08.2023 13:19:30