ImageMagick Default Density Setting Not Functioning as Expected (DSpace 8)

23 views
Skip to first unread message

Peter

unread,
Sep 5, 2024, 5:44:10 AM9/5/24
to DSpace Technical Support
Hi,

I have been experimenting with the following setting:

org.dspace.app.mediafilter.ImageMagickThumbnailFilter.density

However, it doesn't seem to have any effect, so I’m wondering if I understand this setting correctly. Shouldn't this produce an image with a specific resolution?

Regardless of what value I use (144 in the following example), the image resolution always remains at 72 ppi. I tried running the following command:

filter-media -v -f

The output is:

IM Image Param: -density 144 -define pdf:use-cropbox=true /tmp/impdfthumb4761208229715540717.pdf[0] -flatten /tmp/impdfthumb4761208229715540717.pdf.miff
IM Thumbnail Param: -auto-orient /tmp/impdfthumb4761208229715540717.pdf.miff -thumbnail 360x360 /tmp/impdfthumb4761208229715540717.pdf.miff.jpg

So, it appears that ImageMagick reads the settings, but the thumbnails do not change in terms of resolution.

Thanks
Peter
Reply all
Reply to author
Forward
0 new messages