<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>tiffgamut</title> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <meta name="author" content="Graeme Gill"> </head> <body> <h2><b>xicc/tiffgamut</b></h2> <h3>Summary</h3> Create a gamut file or VRML file of the color gamut of the contents of a TIFF image.<br> <span style="font-weight: bold;">tiffgamut</span> allows creation of gamut files from the pixel values in a TIFF raster image, as defined by an ICC profile, in L*a*b* or CIECAM02 Jab colorspace, and can also represent the gamut as a VRML file. This can be used for visualizing and comparing the gamut of an image to the colorspace it is in, or a colorspace it might get transformed into, and can also be used to create an image source gamut for use with <a href="icclink.html"> icclink</a>.<br> <br> <span style="font-weight: bold;">NOTE</span> that if you are creating an image gamut suitable for use with the <a href="icclink.html">icclink</a> <a href="icclink.html#g">-g</a> or <a href="icclink.html#G">-G</a> flags, or <a href="profile.html#g">profile -g</a>, use the Jab appearance space intent for appearance space gamut mappings, and the same input viewing conditions to be used in <span style="font-weight: bold;">icclink</span> or <span style="font-weight: bold;">profile</span> using the -c flag, i.e. "tiffgamut -ij -c2 sRGB.icm image.tif"<br> <h3>Usage Summary</h3> <small><span style="font-family: monospace;">tiffgamut [-v level] profile.icm infile.tif</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> -v Verbose</span><br style="font-family: monospace;"> <span style="font-family: monospace;">-d sres Surface resolution details 1.0 - 50.0</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> -w emit VRML .wrl file as well as CGATS .gam file</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> -n Don't add VRML axes or white/black point</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> -k Add markers for prim. & sec. "cusp" points</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> -i intent p = perceptual, r = relative colorimetric,</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> s = saturation, a = absolute, j = Appearance CIECAM02</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> -o order n = normal (priority: lut > matrix > monochrome)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> r = reverse (priority: monochrome > matrix > lut)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> -c viewcond set appearance mode and viewing conditions for CIECAM02,</span><br style="font-family: monospace;"> <span style="font-family: monospace;"></span><span style="font-family: monospace;"></span></small><small><span style="font-family: monospace;"> either an enumerated choice, or a parameter:value change</span><span style="font-family: monospace;"></span><br style="font-family: monospace;"> <span style="font-family: monospace;"> pp - Practical Reflection Print</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> pe - Print evaluation environment</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> mt - Monitor in typical work environment</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> mb - Monitor in bright work environment</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> md - Monitor in darkened work environment</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> jm - Projector in dim environment</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> jd - Projector in dark environment</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> pcd - Photo CD - original scene outdoors</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> ob - Original scene - Bright Outdoors</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> cx - Cut Sheet Transparencies on a viewing box</span></small><br style="font-family: monospace;"> <small><span style="font-family: monospace;"> s:surround a = average, m = dim, d = dark,</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> c = transparency (default average)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> w:X:Y:Z Adapted white point as XYZ (default media white)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> w:x:y Adapted white point as x, y</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> a:adaptation Adaptation luminance in cd.m^2 (default 50.0)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> b:background Background % of image luminance (default 20)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> f:flare Flare light % of image luminance (default 1)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> f:X:Y:Z Flare color as XYZ (default media white)</span><br style="font-family: monospace;"> <span style="font-family: monospace;"> f:x:y Flare color as x, y</span><br style="font-family: monospace;"> </small><br> <h3>Usage Details and Discussion<br> </h3> The<b> -v</b> flag dumps out the ICC profile header information.<br> <br> The <b>-d</b> parameter controls the level of detail displayed in the surface. The parameter roughly corresponds to a deltaE value, so smaller values give greater detail. The default value is around 10, and is a good place to start. Small values may take a lot of time to generate, and will produce big files.<br> <br> The <b>-w</b> flag causes a VRML file to be produced, as well as a gamut file.<br> <br> The <b>-n</b> flag suppresses the L*a*b* axes being created in the VRML.<br> <br> The <span style="font-weight: bold;">-k</span> flag adds markers for each of the primary and secondary "cusp" points (Red, Yellow, Green, Cyan, Blue & Magenta). No markers will be displayed if the cusps cannot be determined.<br> <br> The <b>-i</b> parameter allows choosing the ICC profile table being used by its intent. Anything other than colorimetric may not represent the native capabilities of the device. The j parameter interprets the absolute colorimetric table in terms of CIECAM02 appearance space Jab values.<br> <br> An ICC profile is allowed to contain more than the minimum number of elements or table needed to describe a certain transform, and may contain redundant descriptions. By default, LUT based table information will be used first if present, followed by matrix/shaper information, and only using monochrome information if it is all that is present. The <b>-o</b> flag, reverses this order. <br> <br> The <span style="font-weight: bold;">-c</span> parameter sets the output space to CIECAM02 appearance Jab values, and also allows choosing a set of viewing conditions, either by choosing a typical viewing environment, or controlling particular viewing condition parameters.<br> <span style="font-weight: bold;"></span><br> <br> <br> </body> </html>