projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f02a1ad
)
base: add linear meta-data to relevant gray model
author
Øyvind Kolås
<pippin@gimp.org>
Wed, 28 Nov 2018 01:51:51 +0000
(
02:51
+0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Wed, 28 Nov 2018 01:51:51 +0000
(
02:51
+0100)
babl/base/model-gray.c
patch
|
blob
|
history
diff --git
a/babl/base/model-gray.c
b/babl/base/model-gray.c
index ce4873112a51e6f513582c8500416f64c55fcee6..5805a185fd7b086b97b1ea78ef49df64513476ed 100644
(file)
--- a/
babl/base/model-gray.c
+++ b/
babl/base/model-gray.c
@@
-80,6
+80,7
@@
models (void)
"id", BABL_GRAY,
babl_component_from_id (BABL_GRAY_LINEAR),
"gray",
+ "linear",
NULL);
@@
-88,6
+89,7
@@
models (void)
babl_component_from_id (BABL_GRAY_LINEAR),
babl_component_from_id (BABL_ALPHA),
"gray",
+ "linear",
"alpha",
NULL);
@@
-96,6
+98,7
@@
models (void)
babl_component_from_id (BABL_GRAY_LINEAR_MUL_ALPHA),
babl_component_from_id (BABL_ALPHA),
"gray",
+ "linear",
"premultiplied",
"alpha",
NULL);