image/pdf/Imagick?

Hello

I have a question about the pdf->jpg conversion by Omeka/php.
I enter scanned documents in pdf and the thumbnail (and the larger image) that is displayed is of lower quality than the original pdf. Is there a setting to be made to optimize this conversion when entering (imamgick?)

Thanks for your help!

Olivier

PDF=
pdf.pdf (2.3 MB)

JPG =

Hi @olivier1378,

Are you aware of the Derivative Size Constraint Settings under the Appearance → Settings tab?

The default is set to 800 px. I just did a quick test and set it to 1600 px which I feel helps produce a little better quality image from the pdf you provided even though the actual image is just 821 × 585 px.

However, I am using ImageMagick and not Imagick.

I know there is a fileDerivatives.strategyOptions key in the config file where you could potentially add some options to control compression, but I haven’t tried this yet.

You could also write a custom strategy using the provided strategies as a starting point and hard-code those options.