[wp-trac] [WordPress Trac] #45598: Prevent unnecessary whitespace around thumbnails when processing cropped PDFs

WordPress Trac noreply at wordpress.org
Fri Jul 26 21:57:15 UTC 2019


#45598: Prevent unnecessary whitespace around thumbnails when processing cropped
PDFs
---------------------------------+------------------------
 Reporter:  michel.weimerskirch  |       Owner:  joemcgill
     Type:  enhancement          |      Status:  accepted
 Priority:  normal               |   Milestone:  5.3
Component:  Media                |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch commit     |     Focuses:
---------------------------------+------------------------
Changes (by joemcgill):

 * keywords:  has-patch needs-testing => has-patch commit


Comment:

 Patch applies cleanly and works great without introducing any noticeable
 performance problems (in fact, if can improve performance because Imagick
 is generating smaller images).

 Also wanted to reiterate that this change will only affect PDFs that have
 been created with a tool that includes a crop-box. For more info about the
 CropBox setting, I found this article helpful: https://www.w3pedia.com/uk
 /the-pdf-page-boxes-cropbox-bleedbox-trimbox.

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


More information about the wp-trac mailing list