Page History
...
Code Block |
---|
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.flatten = false |
ICC Profiles
PDFs optimized for printing most probably use CMYK color schemes. While most Printers work with CMYK colors, monitors use RGB color schemes. Following that it is a good idea to convert CMYK color schemes to RGB when creating RGB. Furthermore the JSPUI currently does not support thumbnails using CMYK color schemes (see DS-2834). If you are using ghostscript at least in version 9 DSpace can create thumbnails that use RGB even if the source PDF was using CMYK. For the transformation from CMYK to RGB ghostscript needs ICC profiles. Default ones are provided by most Ghostscript installations from version 9 upwards. The following configuration options tells DSpace where those ICC porfiles are located. Giving ICC profiles to ImageMagick is optional. If the configuration properties in DSpace are unset, no profiles will be supplied to ImageMagick, which won't convert the thumbnails.
Code Block |
---|
# org.dspace.app.mediafilter.ImageMagickThumbnailFilter.cmyk_profile = /usr/share/ghostscript/9.18/iccprofiles/default_cmyk.icc
# org.dspace.app.mediafilter.ImageMagickThumbnailFilter.srgb_profile = /usr/share/ghostscript/9.18/iccprofiles/default_rgb.icc |
Additional Customization
The ImageMagick conversion software provides a large number of conversion options. Â Subclasses of these media filters could be written to take advantage of the additional conversion properties available in the software.
...