| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>revfix</title> |
| 5 | <meta http-equiv="content-type" |
| 6 | content="text/html; charset=ISO-8859-1"> |
| 7 | <meta name="author" content="Graeme Gill"> |
| 8 | </head> |
| 9 | <body> |
| 10 | <h2><b>xicc/revfix</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Regenerate a CLUT device profiles B2A table data by inverting the A2B |
| 13 | table.<br> |
| 14 | <h3>Usage Summary</h3> |
| 15 | <small><span style="font-family: monospace;">revfix [-options] iccin |
| 16 | iccout</span><br style="font-family: monospace;"> |
| 17 | <span style="font-family: monospace;"> -v |
| 18 | |
| 19 | Verbose</span><br |
| 20 | style="font-family: monospace;"> |
| 21 | <span style="font-family: monospace;"> -0 |
| 22 | |
| 23 | Process perceptual</span><br |
| 24 | style="font-family: monospace;"> |
| 25 | <span style="font-family: monospace;"> -1 |
| 26 | |
| 27 | Process absolute/relative colorimetric</span><br |
| 28 | style="font-family: monospace;"> |
| 29 | <span style="font-family: monospace;"> -2 |
| 30 | |
| 31 | Process saturation</span><br |
| 32 | style="font-family: monospace;"> |
| 33 | <span style="font-family: monospace;"> -r res |
| 34 | |
| 35 | Override BtoA1 |
| 36 | CLUT res.</span><br style="font-family: monospace;"> |
| 37 | <span style="font-family: monospace;"> </span><a |
| 38 | style="font-family: monospace;" href="#k">-k</a><span |
| 39 | style="font-family: monospace;"> [ezhxr] |
| 40 | e = |
| 41 | same K as existing BtoA table (def)</span><br |
| 42 | style="font-family: monospace;"> |
| 43 | <span style="font-family: monospace;"> |
| 44 | z = |
| 45 | zero, h = 0.5 K, x = max K, r = ramp K</span><br |
| 46 | style="font-family: monospace;"> |
| 47 | <span style="font-family: monospace;"> </span><a |
| 48 | style="font-family: monospace;" href="#kp">-k p stle stpo enle enpo |
| 49 | shape</a><br style="font-family: monospace;"> |
| 50 | <span style="font-family: monospace;"> |
| 51 | p = |
| 52 | curve parameters</span><br style="font-family: monospace;"> |
| 53 | <span style="font-family: monospace;"> |
| 54 | stle: K |
| 55 | level at White 0.0 - 1.0</span><br style="font-family: monospace;"> |
| 56 | <span style="font-family: monospace;"> |
| 57 | stpo: |
| 58 | start point of transition Wh 0.0 - Bk 1.0</span><br |
| 59 | style="font-family: monospace;"> |
| 60 | <span style="font-family: monospace;"> |
| 61 | enpo: |
| 62 | End point of transition Wh 0.0 - Bk 1.0</span><br |
| 63 | style="font-family: monospace;"> |
| 64 | <span style="font-family: monospace;"> |
| 65 | enle: K level at Black 0.0 - 1.0</span><br |
| 66 | style="font-family: monospace;"> |
| 67 | <span style="font-family: monospace;"> |
| 68 | shape: |
| 69 | 1.0 = straight, 0.0-1.0 concave, 1.0-2.0 |
| 70 | convex</span><br style="font-family: monospace;"> |
| 71 | <span style="font-family: monospace;"> </span><a |
| 72 | style="font-family: monospace;" href="#K">-K parameters</a><span |
| 73 | style="font-family: monospace;"> Same as |
| 74 | -k, but |
| 75 | target is K locus rather than K value itself</span><br |
| 76 | style="font-family: monospace;"> |
| 77 | <span style="font-family: monospace;"> </span><a |
| 78 | style="font-family: monospace;" href="#l">-l tlimit</a><span |
| 79 | style="font-family: monospace;"> |
| 80 | set total ink limit, 0 |
| 81 | - 400% |
| 82 | (estimate by default)</span><br style="font-family: monospace;"> |
| 83 | <span style="font-family: monospace;"> </span><a |
| 84 | style="font-family: monospace;" href="#L">-L klimit</a><span |
| 85 | style="font-family: monospace;"> |
| 86 | set black ink limit, 0 |
| 87 | - 100% |
| 88 | (estimate by default)</span><br style="font-family: monospace;"> |
| 89 | <span style="font-family: monospace;"> </span><a |
| 90 | style="font-family: monospace;" href="#p">-p aprof.icm</a><span |
| 91 | style="font-family: monospace;"> |
| 92 | Include abstract |
| 93 | profile in output tables</span></small><br> |
| 94 | <h3>Usage Details and Discussion</h3> |
| 95 | Existing ICC profiles may not contain accurately inverted AtoB table |
| 96 | data in their B2A tables, and this tool provides a means of |
| 97 | addressing this, or regenerating the B2A information with a different |
| 98 | black generation and/or ink limit, or applying an abstract correction |
| 99 | profile to the B2A table, without completely recreating the profile.<br> |
| 100 | <br> |
| 101 | Currently <b>revfix</b> does not support creating real perceptual or |
| 102 | saturation B2A tables, but can only create relative colorimetric |
| 103 | tables. It also will not handle CLUT profile that use a matrix element |
| 104 | in them.<br> |
| 105 | <br> |
| 106 | <b>-v</b> Turn on verbose mode. Gives progress information as the |
| 107 | table is created. Since B2A tables can take a long time to generate, |
| 108 | this is often useful to monitor progress.<br> |
| 109 | <br> |
| 110 | The B2A table to be re-creating can be specified by using the <b>-0</b>, |
| 111 | <b>-1</b>, and <b>-2</b>f lags. Normally only the <b>-1</b> flag |
| 112 | should be specified, but the perceptual and saturation tables can be |
| 113 | replaces instead/as well, if their respective flags are specified.<br> |
| 114 | <br> |
| 115 | Normally the re-created B2A table will have the same CLUT resolution as |
| 116 | the existing table, but this can be overridden by using the <b>-r</b> |
| 117 | flag. |
| 118 | Typically a resolution of 9 might be used for a medium quality CMYK |
| 119 | table, |
| 120 | with 17 being used for a high quality CMYK table. For an RGB profile, a |
| 121 | resolution of 17 might be used for a medium quality table, and 33 being |
| 122 | used for a high quality table.<br> |
| 123 | <tt></tt><br> |
| 124 | <a name="k"></a> -<b>k</b> parameter sets the target level of black (K) |
| 125 | when creating a B2A CMYK output tables. This is often called a black |
| 126 | level, a black inking rule, black generation, or under color |
| 127 | removal. These set the target black level.<br> |
| 128 | <br> |
| 129 | Possible arguments to the <b>-k</b> flag are:<br> |
| 130 | <br> |
| 131 | <b> -kz</b> selects minimum black (0.0)<br> |
| 132 | <b> -kh</b> selects a black value of 0.5<br> |
| 133 | <b> -kx</b> selects the maximum possible black (1.0)<br> |
| 134 | <b> -kr</b> selects a linear black ramp, starting at minimum black for |
| 135 | highlight, and maximum black for shadow (equivalent to -kp 0 0 1 1 1). |
| 136 | This is the default.<br> |
| 137 | <br> |
| 138 | <b><a name="kp"></a>-k p stle stpo enpo enle shape</b> allows an |
| 139 | arbitrary black value ramp to be defined, consisting of a starting |
| 140 | value (stle) for highlights, a breakpoint L value (stpo) where it |
| 141 | starts to transition to the shadow level, an end breakpoint L (enpo) |
| 142 | where it flattens out again, and the finishing black level (enle) for |
| 143 | the shadows. There is also a curve parameter, that modifies the |
| 144 | transition from stle to enle to either be concave (ie. the |
| 145 | transition starts gradually and and finished more abruptly) using |
| 146 | values 0.0-1.0, with 0.0 being most concave, or convex (the transition |
| 147 | starts more abruptly but finishes gradually), using values 1.0-2.0, |
| 148 | with 2.0 being the most convex.<br> |
| 149 | <br> |
| 150 | Typical black value generation curve with parameters something |
| 151 | like: -kp 0 .1 .9 1 .5<br> |
| 152 | <br> |
| 153 | <tt> 1.0 K | |
| 154 | enpo<br> |
| 155 | |
| 156 | | _______ |
| 157 | enle<br> |
| 158 | |
| 159 | | /<br> |
| 160 | |
| 161 | | /<br> |
| 162 | |
| 163 | | /<br> |
| 164 | |
| 165 | | /<br> |
| 166 | stle |
| 167 | | ------/<br> |
| 168 | |
| 169 | +-------------------<br> |
| 170 | 0.0 K |
| 171 | 0.0 stpo 1.0<br> |
| 172 | |
| 173 | White |
| 174 | Black<br> |
| 175 | </tt> |
| 176 | <br> |
| 177 | For minimum sensitivity of printed output to the lighting spectrum, it |
| 178 | currently seems best to use the maximum possible black, but other black |
| 179 | generation levels (ie. 0.3 to 0.5) may well be preferred if one wants |
| 180 | to |
| 181 | minimize the noisy appearance of black on an inkjet device, or |
| 182 | if the banding behaviour or other rendering flaws of the printer is to |
| 183 | be minimized. <br> |
| 184 | |
| 185 | <br> |
| 186 | The <a href="xicclu.html">xicclu</a> tool can be used to plot out |
| 187 | the resulting black level for a given set of parameters, by using the <a |
| 188 | href="xicclu.html#g">-g</a> flag of a profile already created from the |
| 189 | same .ti3 file.<br> |
| 190 | <br> |
| 191 | <a name="K"></a> <span style="font-weight: bold;">-K parameters.</span> |
| 192 | Any of the <span style="font-weight: bold;">-k</span> options above |
| 193 | can use the <span style="font-weight: bold;">-K</span> version, in |
| 194 | which rather than a black value target being defined by the inking |
| 195 | rule, a black <span style="text-decoration: underline;">locus</span> |
| 196 | target is defined. For each lookup, the minimum possible black level |
| 197 | and the maximum possible black level is determined, the former |
| 198 | corresponding to a locus target of 0, and the latter corresponding to a |
| 199 | locus target of 1. For instance, at |
| 200 | the |
| 201 | white point, no black will be used in the output, even if the black |
| 202 | locus specifies a maximum (since the maximum amount of black that |
| 203 | can be used to print white is actually zero). Similarly, at the black |
| 204 | point, black may well be used, even if the black locus specifies |
| 205 | zero black (since a certain amount of black is needed to achieve the |
| 206 | desired density of color). <br> |
| 207 | <tt> </tt><br> |
| 208 | <a name="l"></a>The <b>-l</b> <i>tlimit</i> parameter sets the ink |
| 209 | limit (TAC, Total |
| 210 | Area Coverage) for the CMYK separation, as a total percentage from 0% |
| 211 | to 400%. By default, this value will be estimated from the profile. The |
| 212 | limit value should generally be set a little below the value used in |
| 213 | the test chart |
| 214 | generation, to avoid the very edges of the gamut. If the test chart ink |
| 215 | limit has been chosen to be a little beyond an acceptable level, then |
| 216 | this |
| 217 | number should be the acceptable level. Although limits can be set below |
| 218 | 200%, this will generally restrict the color gamut noticeably, as fully |
| 219 | saturated |
| 220 | secondary colors will not be reproduced. Values are between 220% and |
| 221 | 300% |
| 222 | for typical printing devices. The ink limit |
| 223 | will be in final raw device values if the profile includes |
| 224 | calibration information.<br> |
| 225 | <br> |
| 226 | <br> |
| 227 | <a name="L"></a> The <b>-L</b> <i>klimit</i> parameter sets the black |
| 228 | channel ink limit for the CMYK separation, as a total percentage from |
| 229 | 0% |
| 230 | to 100%. By default, this value will be estimated from the profile. For |
| 231 | printing press like devices, this can be used to prevent |
| 232 | the |
| 233 | black channel screening pattern "filling in". Typical values might be |
| 234 | from |
| 235 | 95% to 99%. The ink limit |
| 236 | will be in final raw device values if the profile includes |
| 237 | calibration information.<br> |
| 238 | <br> |
| 239 | <br> |
| 240 | The <b><a name="p"></a>-p</b> option allows specifying an abstract |
| 241 | profile be applied to all of the output tables. An abstract |
| 242 | profile is a way of specifying a color adjustment in a device |
| 243 | independent way. The abstract profile might have been created using one |
| 244 | of the <span style="font-weight: bold;">tweak</span> tools, such as <a |
| 245 | href="refine.html">refine</a>.<br> |
| 246 | <br> |
| 247 | <br> |
| 248 | <br> |
| 249 | <br> |
| 250 | <br> |
| 251 | </body> |
| 252 | </html> |