ImreadModes Fields |
The ImreadModes type exposes the following members.
| Name | Description | |
|---|---|---|
| AnyColor |
If set, the image is read in any possible color format.
| |
| AnyDepth |
If set, return 16-bit/32-bit image when the input has the corresponding depth, otherwise convert it to 8-bit.
| |
| Color |
If set, always convert image to the 3 channel BGR color image.
| |
| Grayscale |
If set, always convert image to the single channel grayscale image.
| |
| LoadGdal |
If set, use the gdal driver for loading the image.
| |
| ReducedColor2 |
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/2.
| |
| ReducedColor4 |
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/4.
| |
| ReducedColor8 |
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/8.
| |
| ReducedGrayscale2 |
If set, always convert image to the single channel grayscale image and the image size reduced 1/2.
| |
| ReducedGrayscale4 |
If set, always convert image to the single channel grayscale image and the image size reduced 1/4.
| |
| ReducedGrayscale8 |
If set, always convert image to the single channel grayscale image and the image size reduced 1/8.
| |
| Unchanged |
If set, return the loaded image as is (with alpha channel, otherwise it gets cropped).
| |
| value__ |