support 1/2/4 bit palette tiff images with alpha