png: use color.RGB
jpeg: speed up for RGB
tiff: support RGB and RGB48