| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>applycal</title> |
| 5 | <meta http-equiv="content-type" content="text/html; |
| 6 | charset=ISO-8859-1"> |
| 7 | <meta name="author" content="Graeme W. Gill"> |
| 8 | </head> |
| 9 | <body> |
| 10 | <h2><b>profile/applycal</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Apply, re-apply or remove calibration curves to an ICC profile.<br> |
| 13 | <h3>Usage Summary</h3> |
| 14 | <small><span style="font-family: monospace;">usage: applycal |
| 15 | [-options] |
| 16 | [calfile.cal] inprof.icm [outprof.icm]<br> |
| 17 | <a href="#v">-v</a> |
| 18 | Verbose |
| 19 | mode<br> |
| 20 | <a href="#a">-a</a> |
| 21 | Apply |
| 22 | or re-apply calibration (default)<br> |
| 23 | <a href="#u">-u</a> |
| 24 | Remove |
| 25 | calibration<br> |
| 26 | <a href="#c">-c</a> |
| 27 | Check |
| 28 | calibration<br> |
| 29 | <a href="#p1">calfile.cal</a> |
| 30 | Calibration |
| 31 | file to apply<br> |
| 32 | <a href="#p2">inprof.icm</a> |
| 33 | ICC |
| 34 | profile to read<br> |
| 35 | <a href="#p3">outprof.icm</a> |
| 36 | modified |
| 37 | ICC |
| 38 | profile to write</span></small><br> |
| 39 | <br> |
| 40 | <h3>Usage Details <br> |
| 41 | </h3> |
| 42 | <a name="v"></a> The <b>-v</b> flag makes applycal more verbose.<br> |
| 43 | <br> |
| 44 | <span style="font-weight: bold;"><a name="a"></a>-a</span> By |
| 45 | default |
| 46 | the <span style="font-weight: bold;">calfile.cal </span>is applied |
| 47 | or |
| 48 | re-applied to the <span style="font-weight: bold;">inprof.icm</span>, |
| 49 | and then written to <span style="font-weight: bold;">outprof.icm</span>.<br> |
| 50 | <br> |
| 51 | <span style="font-weight: bold;"><a name="u"></a>-u</span> This flag |
| 52 | causes any calibration applied to the <span style="font-weight: |
| 53 | bold;">inprof.icm</span> |
| 54 | to be remove, the profile being restored to its pre-calibrated |
| 55 | state, |
| 56 | and then written to <span style="font-weight: bold;">outprof.icm</span>.<br> |
| 57 | <br> |
| 58 | <span style="font-weight: bold;"><a name="c"></a>-c</span> This flag |
| 59 | checks the <span style="font-weight: bold;">inprof.icm</span> and |
| 60 | if |
| 61 | verbose is on, reports whether it has had calibration applied. It |
| 62 | will |
| 63 | return status 0 if it has not been applied, 1 if it has, and 2 on |
| 64 | error.<br> |
| 65 | <br> |
| 66 | <span style="font-weight: bold;"><a name="p1"></a>calfile.cal</span> |
| 67 | must |
| 68 | be supplied if the calibration is being applied or re-applied.<br> |
| 69 | <br> |
| 70 | <span style="font-weight: bold;"><a name="p2"></a>inprof.icm</span> |
| 71 | should |
| 72 | be the |
| 73 | path to the ICC profile that will have calibration applied, |
| 74 | re-applied |
| 75 | or removed. The appropriate extension should be used for the |
| 76 | platform, i.e. <span style="font-weight: bold;">icm</span> for |
| 77 | MSWindows, and <span style="font-weight: bold;">icc</span> for OS X |
| 78 | or |
| 79 | Unix/Linux.<br> |
| 80 | <br> |
| 81 | <span style="font-weight: bold;"><a name="p3"></a>outprof.icm</span> |
| 82 | should |
| 83 | be the |
| 84 | path to the file that will be created to hold the modified ICC |
| 85 | profile. |
| 86 | The appropriate extension should be used for the |
| 87 | platform, i.e. <span style="font-weight: bold;">icm</span> for |
| 88 | MSWindows, and <span style="font-weight: bold;">icc</span> for OS X |
| 89 | or |
| 90 | Unix/Linux.<br> |
| 91 | <br> |
| 92 | <h3>Discussion</h3> |
| 93 | <span style="font-weight: bold;">Applycal</span> provides a means of |
| 94 | using per channel calibration on devices and systems that don't |
| 95 | explicitly support such calibration. Once a calibration has been |
| 96 | created for a device (see <a href="printcal.html">printcal</a>), it |
| 97 | needs to be then used for all subsequent profiling and printing. If |
| 98 | the |
| 99 | printing device, display or system doesn't explicitly support the |
| 100 | use of |
| 101 | calibration, then the calibration can be applied during the printing |
| 102 | of |
| 103 | profile test charts using <a href="printtarg.html#K">printtarg -K</a>, |
| 104 | or the reading of a display target using dispread -K, and then for |
| 105 | processing imagery using <a href="cctiff.html">cctiff</a> |
| 106 | or by modifying the device ICC profiles using <span |
| 107 | style="font-weight: bold;">applycal</span>.<br> |
| 108 | <br> |
| 109 | <span style="font-weight: bold;">Applycal</span> modifies the |
| 110 | appropriate input or output per-channel curves of the profile to |
| 111 | incorporate the per-channel calibration. To allow the calibration to |
| 112 | be |
| 113 | re-applied or removed, it first makes a copy of the uncalibrated |
| 114 | curves |
| 115 | and stores them in private tags in the profile.<br> |
| 116 | <br> |
| 117 | <span style="font-weight: bold;">NOTE</span> that things like the |
| 118 | white point, black point tag, gamut tag etc. are <span |
| 119 | style="text-decoration: underline;">not</span> adjusted to account |
| 120 | for the calibration, nor does applycal read, add or change any |
| 121 | 'vcgt' tag (If a 'vcgt' tag is present and a calibration applied as |
| 122 | well, then both will be in effect when such a profile is installed |
| 123 | using typical display installation tools.)<br> |
| 124 | <br> |
| 125 | <span style="font-weight: bold;">NOTE</span> that any calibration |
| 126 | embedded in the ICC profile <span style="font-weight: bold;">'targ</span>' |
| 127 | tag is ignored, since it is intended for computation of final raw |
| 128 | device value ink limits, and may not represent the exact |
| 129 | current calibration curves.<br> |
| 130 | <br> |
| 131 | <br> |
| 132 | <br> |
| 133 | <br> |
| 134 | </body> |
| 135 | </html> |