[wp-trac] [WordPress Trac] #45982: PDF thumbnails have a default black background
WordPress Trac
noreply at wordpress.org
Fri Feb 22 14:16:28 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:
--------------------------+------------------------------
Comment (by rdiazg):
Hello, I reported the same issue and in my test I fixed it without define
any colour by default instead of this I merge all layers with constant
LAYERMETHOD_FLATTEN, could be this a good solution?
{{{#!php
<?php
$ this -> image -> mergeImageLayers ( Imagick :: LAYERMETHOD_FLATTEN );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45982#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list