support TIFF in BitmapSizeFromData