[wp-trac] [WordPress Trac] #39262: Fall back to ImageMagick command line when the pecl imagic is not available on the server

WordPress Trac noreply at wordpress.org
Fri Jan 20 23:21:28 UTC 2017


#39262: Fall back to ImageMagick command line when the pecl imagic is not available
on the server
-------------------------+------------------------------
 Reporter:  Hristo Sg    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  performance
-------------------------+------------------------------

Comment (by gitlost):

 A plugin implementing the direct shell-out to Ghostscript, by-passing
 Imagick/ImageMagick, is now available in the WP repository as
 [https://wordpress.org/plugins/gs-only-pdf-preview/ GS Only PDF Preview]
 (thanks anonymous plugin reviewer!).

 It contains a worked-up version of the `WP_Image_Editor_GS` class
 prototyped in
 [https://core.trac.wordpress.org/attachment/ticket/39262/39262.patch
 39262.patch] (see [https://github.com/gitlost/gs-only-pdf-
 preview/blob/master/includes/class-gopp-image-editor-gs.php
 GOPP_Image_Editor_GS]), and claims to address the security concerns of
 shelling out.

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


More information about the wp-trac mailing list