[wp-trac] [WordPress Trac] #38522: HTTP Errors on Upload with Certain PDFs

WordPress Trac noreply at wordpress.org
Thu Nov 3 18:10:15 UTC 2016


#38522: HTTP Errors on Upload with Certain PDFs
--------------------------+---------------------------
 Reporter:  mikeschroder  |       Owner:  mikeschroder
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.7
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------------

Comment (by dglingren):

 I have uploaded a new MLA Development Version
 (https://wordpress.org/plugins/media-library-assistant/developers/) that
 generates WP 4.7-style thumbnails for items already in the Media Library.
 The default settings match those for the code in trunk, but you can adjust
 most of the parameters through the UI to do experiments. As a precaution,
 MLA won't generate new thumbnails for items that already have a "native"
 thumbnail.

 The code now in trunk uses Imagick to process the PDF document. This was
 my first approach as well, and I abandoned it after I realized that
 Imagick processed the whole document before extracting the first page as
 an image. Calling GhostScript directly to generate just the first page is
 the only way I found to get acceptable performance for documents with
 hundreds of pages.

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


More information about the wp-trac mailing list