[wp-trac] [WordPress Trac] #39216: PDFs with non-opaque alpha channels can result in previews with black backgrounds.

WordPress Trac noreply at wordpress.org
Tue May 9 13:55:18 UTC 2017


#39216: PDFs with non-opaque alpha channels can result in previews with black
backgrounds.
-------------------------------------------------+-------------------------
 Reporter:  gitlost                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Media                                |  Review
 Severity:  normal                               |     Version:  4.7
 Keywords:  dev-feedback 2nd-opinion has-patch   |  Resolution:
  has-unit-tests                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by gitlost):

 On investigating #40537, found out this only affects systems with
 Ghostscript versions >= 9.14, probably due to the change in color
 management
 [https://www.ghostscript.com/doc/9.21/History9.htm#Version9.14].

 The new patch is just a refresh with comment changes only. It doesn't try
 to determine the Ghostscript version (and act accordingly) as it's messy
 to do in a system-independent way (and would require an `exec()`).

 (Pssttt! For all your PDF preview needs - at very competitive prices - see
 [https://wordpress.org/plugins/gs-only-pdf-preview/].)

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


More information about the wp-trac mailing list