Commit 70262a2
committed
feat: Support display color space interop IDs in I/O
Previously only srgb_rec709_scene was recognized as sRGB for file metadata
and display, now srgb_rec709_display and g22_rec709_display are treated
as sRGB as well. g24_rec709_display is now recognized as gamma 2.4.
The reason for g22_rec709_display behavior is that this type of display is
often used to correct for the discrepancy where images are encoded as sRGB but
usually decoded as gamma 2.2 by the physical display.
Signed-off-by: Brecht Van Lommel <brecht@blender.org>1 parent e7c95c5 commit 70262a2
File tree
5 files changed
+46
-8
lines changed- src
- libOpenImageIO
- raw.imageio
- testsuite/png
- ref
5 files changed
+46
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2099 | 2099 | | |
2100 | 2100 | | |
2101 | 2101 | | |
2102 | | - | |
2103 | | - | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
2107 | 2109 | | |
2108 | 2110 | | |
2109 | 2111 | | |
| |||
2849 | 2851 | | |
2850 | 2852 | | |
2851 | 2853 | | |
2852 | | - | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
2853 | 2859 | | |
2854 | 2860 | | |
2855 | 2861 | | |
| |||
2864 | 2870 | | |
2865 | 2871 | | |
2866 | 2872 | | |
| 2873 | + | |
2867 | 2874 | | |
2868 | 2875 | | |
2869 | | - | |
2870 | | - | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
2871 | 2879 | | |
| 2880 | + | |
2872 | 2881 | | |
2873 | 2882 | | |
2874 | 2883 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| 580 | + | |
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
105 | 116 | | |
106 | 117 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
106 | 117 | | |
107 | 118 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
0 commit comments