babl: fix some annotation to make the function usable in bindings.
[babl.git] / docs / CMYK-static.html
blob473049479a196c2ee64c237b7983fc9619ea28f1
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 <!-- The babl webpage is partially autogenerated
6 -->
7 <html>
8 <head>
9 <title>CMYK - babl</title>
10 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
11 <link rel="icon" href="graphics/babl-16x16.png" type="image/png" />
12 <link rel="shortcut icon" href="graphics/babl-16x16.png" type="image/png" />
13 <style type='text/css'>
14 @import url(babl.css);
15 </style>
16 </head>
17 <body>
19 <div class='print'>
20 <div class='print_title'>
21 <h1>Babl-0.1.67</h1>
22 </div>
23 </div>
24 <!--TOC-->
26 <div class='paper'>
27 <div class='content'>
29 <h2>CMYK</h2>
31 <p>CMYK handling is done using babl-spaces created with ICC profiles
32 containing CMYK profiles. BablSpaces for these ICC profiles handle color conversions using lcms2 - or if compiled without lcms2 support a naive profile independent fallback.</p>
33 <p>When a babl space derived from a CMYK ICC profile is used to instantiate
34 RGB formats, the resulting formats are using the default/NULL space for
35 primaries and TRCs.</p>
37 <p>The CMYK formats that use lcms2 for color interchange with the rest of
38 babl are the following, which are available for all data types, u8, u16, half
39 and float:</p>
40 <dl>
41 <dt>CMYK</dt><dd>Cyan Magenta Yellow Key, with 0 being white and 1.0 full ink coverage.</dd>
42 <dt>CMYKA</dt><dd>as previous, with separate alpha channel</dd>
43 <dt>CaMaYaKaA</dt><dd>as previous but associated alpha</dd>
44 <dt>cmyk</dt><dd>inverted CMYK, where 0.0 is full ink coverage and 1.0 is none</dd>
45 <dt>cmykA</dt><dd>as previous, with separate alpha channel</dd>
46 <dt>camayakaA</dt><dd>as previous but associated alpha</dd>
47 </dl>
50 <a href='graphics/index.html'><img class='BablFish' alt='/babl' title='babl' src='graphics/babl-48x48.png'/></a>
51 </div>
52 </div>
54 <div class='graphic'>
55 <div class='print'>
56 <img src='graphics/babl-a4poster.png' alt=' '/>
57 </div>
58 </div>
60 </body>
61 </html>