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

index ce4873112a51e6f513582c8500416f64c55fcee6..5805a185fd7b086b97b1ea78ef49df64513476ed 100644 (file)
@@ -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);