Hello everyone.

I need some help or directions with ImageMagick and mediafilters. We are
running Dspace 5.1 (Mirage 2) on linux. I'm trying to create PDF thumbnails
with ImageMagick media filter.

dspace.cfg:

filter.plugins = PDF Text Extractor, HTML Text Extractor, \
                                 PowerPoint Text Extractor, \
                                 JPEG Thumbnail, \
                                 ImageMagick Image Thumbnail,
                             ImageMagick PDF Thumbnail, \
                                 Branded Preview JPEG

plugin.named.org.dspace.app.mediafilter.FormatFilter = \
  org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter = ImageMagick
Image Thumbnail, \
  org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter = ImageMagick
PDF Thumbnail


filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats
= BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats
= Adobe PDF

Additional settings:

thumbnail.maxwidth  = 160
thumbnail.maxheight = 160

org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter =
/usr/bin/
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.replaceRegex =
^Generated Thumbnail$
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.bitstreamDescription
= IM Thumbnail

ImageMagick and Ghostscrip is accessible:

[dspace@~]$ which convert
/usr/bin/convert
[dspace@~]$ which ghostscript
/usr/bin/ghostscript



When I'm trying to run it manually:

./dspace filter-media -i 007/11797  -v

I get the following error in dspace log:

2015-04-20 15:59:57,457 WARN  org.dspace.core.PluginManager @ Cannot find
named plugin for interface=org.dspace.app.mediafilter.FormatFilter,
name="ImageMagick Image Thumbnail"

And another error in command line:

ERROR: Unknown MediaFilter specified (either from command-line or in
dspace.cfg): 'ImageMagick Image Thumbnail'

Any help or advice appreciated.

Thanks.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to