The ExportChartToCMYKTIFF process exports a database chart or a stand-alone PCC chart to a CMYK TIFF file.
Any colours for which there is no direct match in the colour map (for example, ih_colour.xml) are mapped to a file with the extension .rgb2cmyk in the same location as the TIFF file. You can use this file to update the colour map if necessary.
Input
HPD URI chart (identified by chart version ID) or a stand-alone PCC chart (identified by file name and path).
Output
The path to the output CMYK TIFF file.
Syntax
carisbatch --run ExportChartToCMYKTIFF [options] <input> <output>
Options
Long | Short | Description | Can Repeat | Notes |
|---|---|---|---|---|
--dpi | -d | Output resolution measured in pixels per square inch (DPI). A higher resolution means a sharper image. Default setting is 300 | FALSE | Optional |
--use-fit-to-page | -F | If set to | FALSE | Optional |
--scaling | -S | Scale the chart as a percentage of chart size. The scaling value must be greater than 0. Default value is 100%. | FALSE | Optional |
--colour-map-file | -M | Colour mapping file that is used to map RGB colours to equivalent colour tokens. | FALSE | Optional |
--output-template | -o | Output template file that is used at export to determine final display in the TIFF chart. | FALSE | Optional |
Examples
To use this process, refer to the following examples.
Database | ||
Objective | Export the database chart number 3218 to the chart_3218.tif file. | |
Description | Command Line Syntax | |
The resolution of the output image is set to 300 DPI | --dpi 300 | |
The scale of the output image is set to 100% | --scaling 100 | |
The input chart is contained in an HPD database | hpd://username:password@DB/db?chartversionid=3218 | |
The output CMYK TIFF file | C:\ExportedCMYKTIFF\chart_3218.tif | |
Command Line | carisbatch -r ExportChartToCMYKTIFF --dpi 300 --scaling 100 hpd://username:password@DB/db?chartversionid=3218 C:\ExportedCMYKTIFF\chart_3218.tif | |
Stand-alone Chart | ||
Objective | Export the stand-alone chart_3138.pcc file to chart_3218.tif. | |
Description | Command Line Syntax | |
The resolution of the output image is set to 300 DPI | --dpi 300 | |
The scale of the output image is set to 100% | --scaling 100 | |
The input chart is a PCC file. | C:\MyCharts\chart_3128.pcc | |
The output chart is a CMYK TIFF file | C:\ExportedCMYKTIFF\chart_3218.tif | |
Command Line | carisbatch -r ExportChartToCMYKTIFF --dpi 300 --scaling 100 C:\MyCharts\chart_3128.pcc C:\ExportedCMYKTIFF\chart_3218.tif | |