Support for 16-bit depth & 32-bit depth RGB/RGBA

Added support for 16-bit depth and 32-bit depth RGB/RGBA color by
scaling them down to 8-bit depth color (Under Testing)