This chapter explains how to handle color profiles in Antenna House PDF API. Specifically, color profiles are handled during PDF/A conversion.
Antenna House PDF API handles color profiles with the -fixedUpPDFA command for PDF/A conversion, and specifies the profile name with the parameters -RGBProfile and -CMYKProfile. If not specified, Antenna House PDF API searches for color profiles, sRGB2014.icc or JapanColor2001Coated.icc, in the following order:
[For Windows version]
[For Linux version]
If a color profile is not specified and there is no color profile in the search destination, an error will occur.
You can specify the search destination for color profiles using environment variables.
Environment variable name: PTL80_ICCPROFILE_PATH
Value to set: Location path of icc file for color profile
On Windows, the icc file location folder in the installation folder is set as the default value during installation. For details, refer to "Chapter 3, 3-1-5 What the Installer Sets on Your System" in this manual.
This setting is required when handling color profiles without specifying them using commands on Linux.
Note:
Unlike the Windows version, the installer does not set environment variables on the Linux version. Instead, the installer places "run.sh" with installation destination information.
"run.sh" is a shell script that executes a Command-line application after setting environment variables with installation destination information. For details, see "10-1-2 Running on Linux versions" in this manual.
The commands that handle color profiles on Antenna House PDF API Command-line are covered in "Chapter 13 Parameters for Commands" in this manual.
The specific command is as follows: