Define COLOR type. Basically the image library regards color as 32 bits of data. User applications end up needing to specify colors in the correct method for the platform they are working on. This provides aliases to rearrange colors. For instance the colors on windows and the colors for OpenGL are not exactly the same. If the OpenGL driver is specified as the output device, the entire code would need to be rebuilt for specifying colors correctly for opengl. While otherwise they are both 32 bits, and peices work, they get very ugly colors output.