Hello,
I have been trying to improve the quality of the thumbnails produced by dspace in one of the repositories I manage. I have been following the documentation for implementing ImageMagick (https://wiki.lyrasis.org/display/DSDOC7x/ImageMagick+Media+Filters) but now that I have it set up I do not see any improvements in the thumbnail quality. I have increased the density to 144 and above, rerun filter-media on a specific test item and then reloaded the page clearing the cache but each time I do not see any changes in the thumbnail quality.
I have set the density configuration in dspace.cfg/local.cfg to be:
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.density =. 144
Then run the command to refilter the bitstream on my test item:
./dspace filter-media -p 'ImageMagick PDF Thumbnail' -v -f -I 12345/12345
This should force the thumbnail to be regenerated using ImageMagick for the test item, which I believe it is from the command line output, but the quality of the thumbnail does not appear to change regardless of what value I set the density to.
Following the documentation above I have also updated the configuration to include all the other detailed changes to conversion utility path, supported file formats, overwriting the existing thumbnails, flattening the pdfs, and icc profiles in case the pdf is formatted to cmyk.
I am curious if ImageMagick has a limit to the quality of the thumbnails it can produce or that somehow dspace is not passing the density value correctly?
Any advice would be very welcomed.
Thank you,
Ben
____________________________
Ben Parkes
Digital Library Software Developer
Digital Library, Library & University Collections, University of Edinburgh
Argyle House, Lady Lawson Street, Edinburgh EH3 9DR
Pronouns: He, him, his
--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/65c2766eeaee0_310c2b22239b311878485%40ip-10-81-19-11.ec2.internal.mail.
--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/DB9PR05MB76924D0222BC86D85A49D5F7BE462%40DB9PR05MB7692.eurprd05.prod.outlook.com.
Hello Keith,
Thank you for your input. I have been using a lower case “I” and below was a typo. The same for the “.” In my density parameter.
Thanks,
Ben
____________________________
Ben Parkes
Digital Library Software Developer
Digital Library, Library & University Collections, University of Edinburgh
Argyle House, Lady Lawson Street, Edinburgh EH3 9DR
Pronouns: He, him, his
From:
Keith Gilbertson <keith.gi...@gmail.com>
Date: Tuesday, 6 February 2024 at 19:18
To: Ben Parkes <Ben.P...@ed.ac.uk>
Cc: dspace-c...@googlegroups.com <dspace-c...@googlegroups.com>
Subject: Re: [dspace-community] ImageMagick Thumbnail Quality
This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
#Names of the enabled MediaFilter or FormatFilter plugins
filter.plugins = Text Extractor
#filter.plugins = JPEG Thumbnail
#filter.plugins = PDFBox JPEG Thumbnail
filter.plugins = ImageMagick Image Thumbnail
filter.plugins = ImageMagick PDF Thumbnail
filter.plugins = ImageMagick Video Thumbnail
plugin.named.org.dspace.app.mediafilter.FormatFilter = org.dspace.app.mediafilter.TikaTextExtractionFilter = Text Extractor
#plugin.named.org.dspace.app.mediafilter.FormatFilter = org.dspace.app.mediafilter.JPEGFilter = JPEG Thumbnail
#plugin.named.org.dspace.app.mediafilter.FormatFilter = org.dspace.app.mediafilter.BrandedPreviewJPEGFilter = Branded Preview JPEG
#plugin.named.org.dspace.app.mediafilter.FormatFilter = org.dspace.app.mediafilter.PDFBoxThumbnail = PDFBox JPEG Thumbnail
plugin.named.org.dspace.app.mediafilter.FormatFilter = org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter = ImageMagick Image Thumbnail
plugin.named.org.dspace.app.mediafilter.FormatFilter = org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter = ImageMagick PDF Thumbnail
plugin.named.org.dspace.app.mediafilter.FormatFilter = org.dspace.app.mediafilter.ImageMagickVideoThumbnailFilter = ImageMagick Video Thumbnail
thumbnail.maxwidth = 80
thumbnail.maxheight = 80
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Adobe PDF
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = CSV
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = HTML
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Microsoft Excel
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Microsoft Excel XML
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Microsoft Powerpoint
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Microsoft Powerpoint XML
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Microsoft Word
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Microsoft Word XML
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = OpenDocument Presentation
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = OpenDocument Spreadsheet
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = OpenDocument Text
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = RTF
filter.org.dspace.app.mediafilter.TikaTextExtractionFilter.inputFormats = Text
filter.org.dspace.app.mediafilter.JPEGFilter.inputFormats = BMP, GIF, JPEG, PNG
filter.org.dspace.app.mediafilter.BrandedPreviewJPEGFilter.inputFormats = BMP, GIF, JPEG, PNG
filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, PNG, JPG, TIFF, JPEG, JPEG 2000
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
filter.org.dspace.app.mediafilter.ImageMagickVideoThumbnailFilter.inputFormats = Video MP4
filter.org.dspace.app.mediafilter.PDFBoxThumbnail.inputFormats = Adobe PDF
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.ProcessStarter = /usr/bin
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.bitstreamDescription = IM Thumbnail
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.replaceRegex = ^Generated Thumbnail$
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.flatten = false
org.dspace.app.mediafilter.ImageMagickThumbnailFilter.density
= 144
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/a24c9b77-b260-43b9-9b2a-1a5daf241a2cn%40googlegroups.com.
biblio@biblioteca:/usr/bin$ convert --version
Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
Copyright: (C) 1999-2021 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP(4.5)
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/a59de63f-cd21-47c9-8e17-892615e33824n%40googlegroups.com.