Oddly I kinda got an error today when creating a thumbnail for a PDF file.
It happened as I installed Vips on Ubuntu.
When installing Vips, I got asked if I wanted to overwrite my ImageMagick policy file. Which I agreed …
Then got error
convert /tmp/shrine20191118-7069-e3p9my.pdf -auto-orient -flatten -resize 127x180 -sharpen 0x1 /tmp/image_processing20191118-7069-16vgi2a.jpg failed with error:
convert-im6.q16: not authorized `/tmp/shrine20191118-7069-e3p9my.pdf’ @ error/constitute.c/ReadImage/412.
convert-im6.q16: no images defined `/tmp/image_processing20191118-7069-16vgi2a.jpg’ @ error/convert.c/ConvertImageCommand/3258.
I realised that indeed had to change rights for Imagemagick in order to be allowed to alter PDF files .
You may follow this stackoverflow thread in order to enable it back :
(also this is a development only error…)