Beyka / Android-TiffBitmapFactory

MIT License
131 stars 46 forks source link

Photometric Interpretation #29

Open vkmulloly opened 6 years ago

vkmulloly commented 6 years ago

Hi , i am merging 2 jpeg files to single tiff file. but the property of tiff file Photometric Interpretation is coming as RGB but in jpeg Photometric Interpretation is coming null

please help to remove the Photometric Interpretation value while creating the tiff file

Beyka commented 6 years ago

It can't be removed. Photometric interpretation can be RGB or MINISBLACK/MINISWHITE for binary compression like RLE. So if you convert jpeg image to tiff with any compression except of COMPRESSION_CCITTRLE/COMPRESSION_CCITTFAX3/COMPRESSION_CCITTFAX4 Photometric interpretation will be RGB