Skip to content

Tiff 16 bit - #277

Merged
aclark4life merged 3 commits into
python-pillow:masterfrom
wiredfool:tiff_16_bit
Jul 9, 2013
Merged

aclark4life merged 3 commits into
python-pillow:masterfrom
wiredfool:tiff_16_bit

Conversation

@wiredfool

Copy link
Copy Markdown
Member

Fixes #274, needs confirmation from @tdsmith of the fix and permission to include a very cropped version of his sample image.

@tdsmith

tdsmith commented Jul 9, 2013

Copy link
Copy Markdown

Thanks! I'll try to test this tomorrow. Including the image in the test suite is fine.

aclark4life added a commit that referenced this pull request Jul 9, 2013
@aclark4life
aclark4life merged commit 2ed47b8 into python-pillow:master Jul 9, 2013
@aclark4life

Copy link
Copy Markdown
Member

@tdsmith Please confirm this is fixed

@tdsmith

tdsmith commented Jul 9, 2013

Copy link
Copy Markdown

Looks good to me. Opening an image with PIL as np.array(Image.open(...).convert('F')) now gives identical results to TIFFFile.py using tifffile.imread(...).astype(np.float32), which makes sense. Thanks!

@aclark4life

Copy link
Copy Markdown
Member

Great! Thanks all

@wiredfool
wiredfool deleted the tiff_16_bit branch November 26, 2013 23:10
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.

16-bit TIFF files truncated to 0..255 before conversion to float

3 participants