File content command line options
Deactivate transparency flattening
--notransparencyflattening
This switches off both flattening of any contained transparency and setting the blend color space to sRGB.
Add XMP metadata
--addxmp=<path>
The XMP metadata is merged into any existing XMP metadata.
Parameters
path |
Path to an XMP file |
Add bookmarks
--addbookmarks=<path>
The bookmarks are embedded into the PDF as defined in the XML file.
Parameters
path |
Path to an XML file containing book-marks |
Bookmark structure to be used in the XML file
The structure for bookmarks has to be defined in the XML file. It is also possible to use various formatting styles for the bookmarks ("PLAIN", "BOLD", "ITALIC", "BOLD_ITALIC" and colors "R,G,B"). This formatting will only be shown if the respective PDF viewer supports such styling information.
Also a subcategorization for the bookmark tree is possible.
Only page numbers as destinations can be defined, but e.g. no coordinates on a specific page.
Sample for an XML file
<?xml version="1.0" encoding="utf-8"?>
<BOOKMARKS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bookmarks.xsd">
<BOOKMARK ORDER="100" TITLE="Title 1" PAGE_NUMBER="2" />
<BOOKMARK ORDER="200" TITLE="Title 2" PAGE_NUMBER="3" STYLE="BOLD" />
<BOOKMARK ORDER="300" TITLE="Title 3" PAGE_NUMBER="1" />
<BOOKMARK ORDER="301" TITLE="Title 3.1" PAGE_NUMBER="4" />
<BOOKMARK ORDER="302" TITLE="Title 3.2" PAGE_NUMBER="5" COLOR="255,0,0"/>
<BOOKMARK ORDER="400" TITLE="Title 4" PAGE_NUMBER="7" />
</BOOKMARKS>
This XML would result into the following bookmark tree:
Set the OutputIntent
-i --OutputIntent=<path>
Path to a PDF file with an OutputIntent – forces use of this OutputIntent.
Parameters
path |
Path to an OutputIntent |
Define ICC profiles
CMYK
--defaultprofile_cmyk=<path>
The given profile is embedded as the default profile making device depen-dent CMYK page objects device independent.
Parameters
path |
Path to a CMYK ICC profile |
RGB
--defaultprofile_rgb=<path>
The given profile is embedded as the default profile making device depen-dent RGB page objects device independent.
Parameters
path |
Path to an RGB ICC profile |
Gray
--defaultprofile_gray=<path>
The given profile is embedded as the default profile making device depen-dent Gray page objects device independent.
Parameters
path |
Path to a Gray ICC profile |