forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibGfx/TIFF: Support samples with a floating point value
The test case was generated using this Python code: 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)])
- Loading branch information
1 parent
8cd6446
commit 55c7d00
Showing
3 changed files
with
56 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters