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

WordPress Trac noreply at wordpress.org
Tue Jan 15 09:21:02 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 nebrekab):

 Thanks for the swift reply!

 Yes, it sure doesn't to be hardcoded - the default could be a constant or
 set via a function setting? - but generally I see it as more to do with
 the colour of paper being more likely to be white than any other colour,
 certainly not black, and that it's not so much to do with the colour of
 the website's design.  Somewhere in the code (Imagick perhaps?) they have
 made the decision to default to black, and I just feel as though that's
 not the most logical choice... :)

 If it could be set in some way shape or form in WordPress - that would be
 amazing. How do we go about getting this in place? :)


 Replying to [comment:1 subrataemfluence]:
 > Welcome to trac and thanks for the ticket!
 >
 > My personal opinion is using hard coded specific background color is not
 a good idea. Different website can have different backgrounds. If a black
 background hits eyes, then a white background on another color can do the
 same.
 >
 > However, if we can somehow make this background matched with that of
 site's body color dynamically, that probably makes more sense!

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


More information about the wp-trac mailing list