[wp-trac] [WordPress Trac] #45982: PDF thumbnails have a default black background
WordPress Trac
noreply at wordpress.org
Mon Nov 18 16:30:47 UTC 2019
#45982: PDF thumbnails have a default black background
--------------------------+------------------------------
Reporter: nebrekab | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.0.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by joostdekeijzer):
* Attachment "image-library-load-filters.diff" added.
Hi, I have the same issue. The workaround from #39216 does not work for
me, I need to `setImageAlphaChannel`. I'm using PHP7.2 with ImageMagick
6.9.10 and ghostscript 9.5. I've attached a patch that adds filters to
both the Imagick class and the GD class both passing the `$this->image`
object as a reference. Then, in a plugin, you can make the fix that works
for you. Would that be a solution?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45982>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list