Moved all image rendering to ImageDecompression class