add support for 16 bpp