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

Update TIFF conversion to support more bit depth. #535

Merged
merged 6 commits into from
Jul 17, 2015

Conversation

mayeut
Copy link
Collaborator

@mayeut mayeut commented Jul 16, 2015

Update #322
Update #264

This support 1, 2, 4, 6, 8, 10, 12, 14, 16 bits TIFF both in reading / writing.
Includes (need some testing though) support for BIG ENDIAN (#524)
All tests are OK (well, rounding changed when doing 16 -> 12 bits conversion so need to update non regression data)

mayeut added a commit that referenced this pull request Jul 17, 2015
Update TIFF conversion to support more bit depth.
@mayeut mayeut merged commit b59085d into uclouvain:master Jul 17, 2015
@mayeut mayeut deleted the converttif branch July 17, 2015 22:43
@mayeut mayeut mentioned this pull request Jul 17, 2015
@szukw000
Copy link
Contributor

@mayeut ,
my tests on PPC64 (resp. LINUX-64) were OK.

BUT: you have forgotten to apply the patch in #518. I had to apply #518.

The difference between the old code and the patch #518 can be visited by

http://home.arcor.de/szukw000/cio.txt.zip

For tiftoimage() I have made a small change. Instead setting tBps and tPhoto to 0,
I use the variable 'fails' and show the original values for tBps and tPhoto in case
'fails == 1".

winfried

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

Successfully merging this pull request may close these issues.

None yet

3 participants