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 <[email protected]>
Date: Tuesday, 6 February 2024 at 19:18
To: Ben Parkes <[email protected]>
Cc: [email protected] <[email protected]>
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.
Ben, just thought of two more things:

- there's a "." before the 144 in your density line 
'org.dspace.app.mediafilter.ImageMagickThumbnailFilter.density =. 144'
- there's also a dspace-tech mailing list if you're stuck where you might get 
better answers

On Tue, Feb 6, 2024 at 2:05 PM Keith Gilbertson 
<[email protected]<mailto:[email protected]>> wrote:
Ben,

My colleague Philip sent this to me because we're also working on replacing 
thumbnails. I can't tell from the email text which character you have in the 
parameter before the handle. We're using a lowercase "eye" - "-i".  If you want 
you can also try without the -p "ImageMagick PDF Thumbnail" just for your test 
item.

--keith


On Tue, Feb 6, 2024 at 6:13 AM Ben Parkes 
<[email protected]<mailto:[email protected]>> wrote:
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

The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh 
Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/DB9PR05MB76924D0222BC86D85A49D5F7BE462%40DB9PR05MB7692.eurprd05.prod.outlook.com<https://groups.google.com/d/msgid/dspace-community/DB9PR05MB76924D0222BC86D85A49D5F7BE462%40DB9PR05MB7692.eurprd05.prod.outlook.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/DB9PR05MB76928DFA42B968AE3B1B5921BE4B2%40DB9PR05MB7692.eurprd05.prod.outlook.com.

Reply via email to