[wp-trac] [WordPress Trac] #48853: Error generating thumbnails of PDF files
WordPress Trac
noreply at wordpress.org
Fri Dec 6 10:49:22 UTC 2019
#48853: Error generating thumbnails of PDF files
-------------------------------------------+---------------------
Reporter: joseaneto | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3.1
Component: Media | Version: 5.3
Severity: normal | Resolution:
Keywords: reporter-feedback 2nd-opinion | Focuses:
-------------------------------------------+---------------------
Comment (by joseaneto):
Until now I had been testing with normal pdfs, documents, and the error
occurred when generating the thumbnail.
Now I see that with the file demo_cropped.pdf, the thumbnail is generated
correctly (without applying the patch).
So the bug occurs in pdf files to which ImageMagick cannot apply "use-
cropbox".[[Image()]]
And true, if I apply the patch even though all thumbnails are generated,
the image is not cropped, so setOption is ignored.
- PHP Version 7.3.12
- Imagick module version 3.4.4
- ImageMagick 6.9.4 (as default in Cloudlinux/Centos 7)
Maybe is related with the ImageMagick version vs "pdf:use-cropbox", as we
have the same results with other PHP versions, I'm not sure.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48853#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list