filter-media Ignores PDFs, Only Generates Thumbnails for Images

23 views
Skip to first unread message

lucasangelo...@gmail.com

unread,
Feb 6, 2025, 6:55:32 PM2/6/25
to DSpace Community

Hi DSpace Community,

I'm experiencing an issue in DSpace 8 where filter-media only generates thumbnails for images (PNG, JPG, etc.) but completely ignores PDFs.

What I've Checked:

✔️ PDF MIME type is correct in the database (application/pdf).
✔️ Filters are enabled in dspace.cfg and local.cfg:

filter.plugins = PDFBox JPEG Thumbnail
filter.plugins = ImageMagick PDF Thumbnail

filter.org.dspace.app.mediafilter.PDFBoxThumbnail.inputFormats = application/pdf
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = application/pdf


Running ./dspace filter-media -p list shows no PDF filters.
✔️ Executing filter-media -f -p "PDFBox JPEG Thumbnail" does nothing.
✔️ No PDF thumbnails exist in the database.
✔️ Ghostscript and ImageMagick work correctly when tested manually.

What’s Happening?

  • filter-media skips PDFs without errors, even though the filters are configured.
  • The database confirms no PDF thumbnails have been created.
  • PDF-related filters seem missing or ignored.
Questions for the Community:
  1. Is there a known issue with PDF filtering in DSpace 8?
  2. Are there additional configurations required for PDF processing?
  3. Has PDF thumbnail generation changed in DSpace 8?

Any help or insights would be greatly appreciated!

Thanks!

Reply all
Reply to author
Forward
0 new messages