Configuration
In order for the
CUE Graphics Converter to
be able to connect to the
Content Store
change log, the following properties must be set in
/etc/cue/cue-graphics-converter/common/Daemon.properties
:
url=http://host/changelog-path username=username password=password
The remaining properties in the file can be left alone.
In
/etc/cue/cue-graphics-converter/common/Agent.properties
you can specify:
-
Which file types you want to be converted
-
Which format you want them to be converted to
-
The system command to be used to perform the conversion
The default configuration is as follows:
# Comma separated matched lists of formats to convert from and convert # to. # environment.CONVERT_FROM=image/vnd.adobe.photoshop,application/pdf,application/postscript environment.CONVERT_TO=image/jpeg,image/jpeg,image/jpeg environment.CONVERT_TO_EXTENSION=.jpg,.jpg,.jpg # A comma separated list of system commands to execute for the # conversion. The list have to match the list of the above # formats. The first {} is a placeholder for the file we convert from, # while the second one is a placeholder for what we convert to. environment.CONVERT_TO_COMMAND=convert {} -flatten {},convert -density 96 -quality 85 {}[0] {},convert -density 96 -quality 85 {}[0] {}
As you can see, you have to specify separate output formats, file extensions and conversion commands for each input format, even if you are converting all input formats to the same output format. So to add a new file format, you must add a new comma-separated entry to all four lines.