[wp-trac] [WordPress Trac] #48853: Error generating thumbnails of PDF files
WordPress Trac
noreply at wordpress.org
Fri Dec 6 17:54:39 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 azaozz):
Replying to [comment:8 joseaneto]:
> So the bug occurs in pdf files to which ImageMagick cannot apply "use-
cropbox".[[Image()]]
Yes, that seems to be the problem. Seems not in ImageMagick but in
Ghostscript. This comment by @cranewest has some more info:
https://core.trac.wordpress.org/ticket/48778#comment:12 and points to this
(ancient) bug in GS 8.7:
https://bugs.ghostscript.com/show_bug.cgi?id=690676. Perhaps see if your
Ghostscript version is affected and try updating it if possible.
Looking at what can be done in WP as a workaround, doesn't seem there are
many options. Perhaps can try to set the option and load the .pdf file,
and if it fails, remove the option and try to load again?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48853#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list