Skip to content

Update TIFF conversion to support more bit depth.#535

Merged
mayeut merged 6 commits intouclouvain:masterfrom
mayeut:converttif
Jul 17, 2015
Merged

Update TIFF conversion to support more bit depth.#535
mayeut merged 6 commits intouclouvain:masterfrom
mayeut:converttif

Conversation

@mayeut
Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants