added support for uncompressed RGB data