Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photometric Interpretation #29

Open
vkmulloly opened this issue Feb 18, 2018 · 1 comment
Open

Photometric Interpretation #29

vkmulloly opened this issue Feb 18, 2018 · 1 comment

Comments

@vkmulloly
Copy link

vkmulloly commented Feb 18, 2018

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
Copy link
Owner

Beyka commented Feb 19, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants