diff options
author | Øyvind Kolås <pippin@gimp.org> | 2018-12-01 21:35:46 +0100 |
---|---|---|
committer | Øyvind Kolås <pippin@gimp.org> | 2018-12-01 21:35:46 +0100 |
commit | 00d9838859640597e0eb835e10e769524179b413 (patch) | |
tree | 13c170d58f2c741744d1482be2b913c497a1690f /babl/base | |
parent | 590301cfc9dd2549178267ea4b433bcd617150db (diff) |
base: add half version of CMYK formats
Diffstat (limited to 'babl/base')
-rw-r--r-- | babl/base/model-cmyk.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/babl/base/model-cmyk.c b/babl/base/model-cmyk.c index a550427..c689d28 100644 --- a/babl/base/model-cmyk.c +++ b/babl/base/model-cmyk.c @@ -924,6 +924,28 @@ babl_base_model_cmyk (void) babl_component ("A"), NULL ); + + babl_format_new ( + "name", "cmyk half", + babl_model ("cmyk"), + babl_type ("half"), + babl_component ("cyan"), + babl_component ("magenta"), + babl_component ("yellow"), + babl_component ("key"), + NULL + ); + babl_format_new ( + "name", "cmykA half", + babl_model ("cmykA"), + babl_type ("half"), + babl_component ("cyan"), + babl_component ("magenta"), + babl_component ("yellow"), + babl_component ("key"), + babl_component ("A"), + NULL + ); babl_format_new ( "name", "camayakaA u16", babl_model ("camayakaA"), @@ -980,6 +1002,27 @@ babl_base_model_cmyk (void) babl_component ("Key"), NULL ); + babl_format_new ( + "name", "CMYKA half", + babl_model ("CMYKA"), + babl_type ("half"), + babl_component ("Cyan"), + babl_component ("Magenta"), + babl_component ("Yellow"), + babl_component ("Key"), + babl_component ("A"), + NULL + ); + babl_format_new ( + "name", "CMYK half", + babl_model ("CMYK"), + babl_type ("half"), + babl_component ("Cyan"), + babl_component ("Magenta"), + babl_component ("Yellow"), + babl_component ("Key"), + NULL + ); babl_format_new ( "name", "CMYK u8", |