-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
LibGfx/TIFF: Support samples with a floating point value #23519
base: master
Are you sure you want to change the base?
Conversation
b2e85a6
to
7b1ccd0
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! |
The test cases were generated using this Python code (no extratags were given for float32_no_tags): import tifffile import numpy as np image = np.array( [[[0, 0, 0], [255, 0, 0]], [[0, 127.5, 127.5], [255, 255, 255]]] ).astype(np.float32) tifffile.imwrite('float32.tiff', image / 255, extratags=[ (340, 11, 3, [0, 0, 0], True), (341, 11, 3, [1, 1, 1], True)])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does anything in the wild use this? Do the uses set the SMin / SMax tags?
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions! |
The test cases were generated using this Python code (no extratags were
given for float32_no_tags):