The following list shows the valid PageType settings:
Constant | Setting | Description |
wiPageTypeBW | 1 | Black-and-white |
wiPageTypeGray4 | 2 | Gray scale, 4-bit |
wiPageTypeGray8 | 3 | Gray scale, 8-bit |
wiPageTypePal4 | 4 | Palettized, 4-bit |
wiPageTypePal8 | 5 | Palettized, 8-bit |
wiPageTypeRGB24 | 6 | RGB, 24-bit |
wiPageTypeBGR24 | 7 | BGR, 24-bit |
Note: Palettized4 is not available as a parameter for the ConvertPageType method unless the image presently has a 4-bit palette).