| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>timage</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>render/timage</b></h2> |
| 11 | <h3>Summary</h3> |
| 12 | Create TIFF test image, suitable for evaluating various color |
| 13 | transformations. By default a test image consisting of two hexagons and |
| 14 | a grey wedge is produced. The two hexagons are the white and black |
| 15 | corners of the RGB cube surface. This is useful in checking gamut |
| 16 | mapping behaviour applied to an RGB colorspace.<br> |
| 17 | <br> |
| 18 | <img alt="RGB cube surface" src="cube.jpg" |
| 19 | style="width: 200px; height: 101px;"><br> |
| 20 | <br> |
| 21 | An alternate rectangular "rainbow" representation of the surface |
| 22 | of an RGB |
| 23 | cube can also be created. <br> |
| 24 | <br> |
| 25 | <img alt="RGB rectangular surface" src="surface.jpg" |
| 26 | style="width: 200px; height: 148px;"><br> |
| 27 | <br> |
| 28 | A third type is a set of stepped rectangles that explore the L*a*b* |
| 29 | space, useful for testing profiles B2A tables (-p 6):<br> |
| 30 | <br> |
| 31 | <img alt="Lab steps image" src="LabSteps.jpg" |
| 32 | style="width: 150px; height: 150px;"><br> |
| 33 | <h3>Usage Summary</h3> |
| 34 | <small><span style="font-family: monospace;"></span><span |
| 35 | style="font-family: monospace;"></span><span |
| 36 | style="font-family: monospace;">usage: timage [-options] outfile.tif</span><br |
| 37 | style="font-family: monospace;"> |
| 38 | <span style="font-family: monospace;"> -v |
| 39 | Verbose</span><br style="font-family: monospace;"> |
| 40 | <span style="font-family: monospace;"> -t |
| 41 | Generate rectangular boundary test chart<br> |
| 42 | -p steps Generate a colorspace step chart |
| 43 | with L* steps^2<br style="font-family: monospace;"> |
| 44 | </span><span style="font-family: monospace;"> -r |
| 45 | res Resolution |
| 46 | in DPI (default 200)</span><br style="font-family: monospace;"> |
| 47 | <span style="font-family: monospace;"> -s |
| 48 | Smooth blend</span><br style="font-family: monospace;"> |
| 49 | <span style="font-family: monospace;"> -x |
| 50 | 16 bit output</span><br style="font-family: monospace;"> |
| 51 | <span style="font-family: monospace;"> -g |
| 52 | prop Percentage towards grey |
| 53 | (default 0%)</span><br style="font-family: monospace;"> |
| 54 | <span style="font-family: monospace;"> outfile.tif Profile |
| 55 | to check against</span></small><br> |
| 56 | <h3>Usage Details and Discussion<br> |
| 57 | </h3> |
| 58 | The<b> -v</b> flag increases verbosity. <br> |
| 59 | <br> |
| 60 | The default behaviour is to create the two hexagon plus grey wedge test |
| 61 | image. If the <span style="font-weight: bold;">-t</span> flag is used, |
| 62 | the alternate single rectangular surface test image is generated. |
| 63 | If the <span style="font-weight: bold;">-p steps</span> parameter is |
| 64 | given, than an L*a*b* test chart is generated.<br> |
| 65 | <br> |
| 66 | The dots per inch of the image can be set using the <span |
| 67 | style="font-weight: bold;">-r</span> parameter. Increasing this, |
| 68 | increases the size and detail of the image.<br> |
| 69 | <br> |
| 70 | Normally the images are generated using linear blending of the RGB |
| 71 | values. If the <span style="font-weight: bold;">-s</span> flag is |
| 72 | used, a smoother blending is employed. This is most desirable when |
| 73 | generating the rectangular test image.<br> |
| 74 | <br> |
| 75 | Normally an 8 bit per color component image is generated. If the <span |
| 76 | style="font-weight: bold;">-x</span> flag is use, a 16 bit per color |
| 77 | component image will be generated, giving smoother blends, particularly |
| 78 | if a higher resolution (DPI) image is created.<br> |
| 79 | <br> |
| 80 | The hexagon and surface test images are normally the surface colors of |
| 81 | the RGB colorspace |
| 82 | cube. If a percentage greater than 0% is given as an argument to the <span |
| 83 | style="font-weight: bold;">-g</span> option, a test chart composed of |
| 84 | colors away from the RGB cube surface, towards the center grey point |
| 85 | will be generated. 100% will generate a completely grey image. Values |
| 86 | of 10, 20 to 50% are more usual.<br> |
| 87 | <br> |
| 88 | The L*a*b* step chart explores the range of L*a*b* values that are |
| 89 | handled by an L*a*b* PCS B2A table, with the L* stepping from 0 to 100 |
| 90 | in steps from the top left to the bottom right square, while the a* |
| 91 | values range from -127 to 127 left to right in each square, and the b* |
| 92 | values range from -127 to 127 bottom to top in each square.<br> |
| 93 | <br> |
| 94 | The last argument on the command line is the name of the TIFF file to |
| 95 | save the resulting image to.<br> |
| 96 | <br> |
| 97 | <br> |
| 98 | <br> |
| 99 | </body> |
| 100 | </html> |