[wp-trac] [WordPress Trac] #45982: PDF thumbnails have a default black background

WordPress Trac noreply at wordpress.org
Wed Mar 29 13:53:43 UTC 2023


#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 oldrup):

 Just pitching in. This is still a very real issue with PDF-files having
 transparent elements on the first page, apparently.. But, the "less
 elegant solution" mentioned by @thatstevensguy, still gets the job done,
 in WordPress 6.1

 I used "Force Regenerate Thumbnails" on those bulk selected existing PDF's
 in the media library with black backgrounds.

 The script handles new uploads too.

 A welcome patch! - but would be great if it wasn't needed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45982#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list