The OpenD Programming Language

LOAD_GREYSCALE

Load the image in greyscale, can be faster than loading as RGB8 then converting to greyscale. This will preserve an alpha channel, if existing. The resulting image will have 1 or 2 channels. Can't be used with LOAD_RGB flag.

nothrow @nogc @safe
enum LoadFlags LOAD_GREYSCALE;

Meta