[babl] base: add linear meta-data to relevant gray model
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] base: add linear meta-data to relevant gray model
- Date: Wed, 28 Nov 2018 01:52:06 +0000 (UTC)
commit 5f05fbfacc01a9d9259d2bc44bfff02a26900a38
Author: Øyvind Kolås <pippin gimp org>
Date: Wed Nov 28 02:51:51 2018 +0100
base: add linear meta-data to relevant gray model
babl/base/model-gray.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/babl/base/model-gray.c b/babl/base/model-gray.c
index ce48731..5805a18 100644
--- 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]