| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>greytiff</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>imdi/greytiff</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Convert a TIFF file to monochrome colorimetrically, using an ICC device |
| 13 | profile.<br> |
| 14 | <h3>Usage<br> |
| 15 | </h3> |
| 16 | <small><span style="font-family: monospace;">greytiff [-options] </span><i |
| 17 | style="font-family: monospace;">profile.icm infile.tif |
| 18 | outfile.tif</i><span style="font-family: monospace;"></span><i |
| 19 | style="font-family: monospace;"></i><span |
| 20 | style="font-family: monospace;"></span><span |
| 21 | style="font-family: monospace;"></span><br |
| 22 | style="font-family: monospace;"> |
| 23 | <span style="font-family: monospace;"> </span><a |
| 24 | style="font-family: monospace;" href="#v">-v</a><span |
| 25 | style="font-family: monospace;"> |
| 26 | Verbose</span><span |
| 27 | style="font-family: monospace;"></span><br |
| 28 | style="font-family: monospace;"> |
| 29 | <span style="font-family: monospace;"> </span><a |
| 30 | style="font-family: monospace;" href="#p">-p</a><span |
| 31 | style="font-family: monospace;"> |
| 32 | Use slow |
| 33 | precise floating point conversion, rather than fast integer routines.<br> |
| 34 | </span></small><small><span style="font-family: monospace;"> </span><a |
| 35 | style="font-family: monospace;" href="greytiff.html#c">-j</a><span |
| 36 | style="font-family: monospace;"> |
| 37 | |
| 38 | Use CIECAM02 space for removing color, |
| 39 | rather than default L*a*b* space.</span></small><small><span |
| 40 | style="font-family: monospace;"></span><span |
| 41 | style="font-family: monospace;"></span><span |
| 42 | style="font-family: monospace;"></span><br |
| 43 | style="font-family: monospace;"> |
| 44 | <span style="font-family: monospace;"> </span><a |
| 45 | style="font-family: monospace;" href="#p1"><i>profile.icm</i></a><span |
| 46 | style="font-family: monospace;"> Profile |
| 47 | to define the colorspace of the </span></small><small><a |
| 48 | style="font-family: monospace;" href="File_Formats.html#TIFF">TIFF</a><span |
| 49 | style="font-family: monospace;"> |
| 50 | Raster file</span></small><small><span style="font-family: monospace;"></span><span |
| 51 | style="font-family: monospace;">.</span><span |
| 52 | style="font-family: monospace;"></span><span |
| 53 | style="font-family: monospace;"></span><br |
| 54 | style="font-family: monospace;"> |
| 55 | <span style="font-family: monospace;"> </span><a |
| 56 | style="font-family: monospace;" href="#p2"><i>infile.tif</i></a><span |
| 57 | style="font-family: monospace;"> |
| 58 | A </span><a style="font-family: monospace;" |
| 59 | href="File_Formats.html#TIFF">TIFF</a><span |
| 60 | style="font-family: monospace;"> |
| 61 | Raster file that will be the input raster to be transformed.</span><br |
| 62 | style="font-family: monospace;"> |
| 63 | <span style="font-family: monospace;"> </span><a |
| 64 | style="font-family: monospace;" href="#p3"><i>outfile.tif</i></a><span |
| 65 | style="font-family: monospace;"> |
| 66 | A </span><a style="font-family: monospace;" |
| 67 | href="File_Formats.html#TIFF">TIFF</a><span |
| 68 | style="font-family: monospace;"> |
| 69 | Raster file created from the input raster, that will have had the color |
| 70 | removed.</span></small><b><br> |
| 71 | <br> |
| 72 | Examples</b><br> |
| 73 | <br> |
| 74 | greytiff sRGB.icm infile.tif outfile.tif<br> |
| 75 | <h3>Comments<br> |
| 76 | </h3> |
| 77 | <a name="v"></a> The -v flag reports extra information about the ICC |
| 78 | profile.<br> |
| 79 | <a name="p"></a> The -p |
| 80 | option is intended to aid debugging.<br> |
| 81 | <a name="j"></a> The -j |
| 82 | option uses CIECAM02 colorspace to remove the color in. This may |
| 83 | produce better subjective results for images with highly chromatic |
| 84 | colors.<br> |
| 85 | <a name="p2"></a>The second last argument should be the name of the |
| 86 | TIFF file that is to be processed.<br> |
| 87 | <a name="p3"></a>The last argument should be the name of the TIFF file |
| 88 | to hold the results.<br> |
| 89 | <span style="font-weight: bold;"></span><br> |
| 90 | <br> |
| 91 | <br> |
| 92 | <br> |
| 93 | <br> |
| 94 | <br> |
| 95 | </body> |
| 96 | </html> |