[wp-trac] [WordPress Trac] #6821: ImageMagick support

WordPress Trac noreply at wordpress.org
Thu Oct 25 00:48:10 UTC 2012


#6821: ImageMagick support
-------------------------------------+-----------------------
 Reporter:  matt                     |       Owner:
     Type:  task (blessed)           |      Status:  assigned
 Priority:  normal                   |   Milestone:  3.5
Component:  Upload                   |     Version:  2.5
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------

Comment (by bpetty):

 (TLDR - Performance looks good with ImageMagick)

 I performed some pretty thorough XHProf tests, and generally speaking, it
 looks like the IM backend does consistently still perform both faster than
 GD, and uses slightly less memory when handling both JPEG and PNG images.
 It turns out that it's only actually slower when working with GIF images
 (which is what I was working on with #13461), but even in the case of GIF
 images, it's doesn't use more memory, and it's not significantly slower
 (typically by about 15%).

 I've uploaded a couple of the results specifically with a 10 megapixel
 JPEG photo:

 - With GD Library: [attachment:xhprof-gd-jpg-10mp.png]
 - With ImageMagick: [attachment:xhprof-imagick-jpg-10mp.png]

 In all of the tests, IM always took slightly longer to read in the image
 and initialize than GD did, but you can also see that the Imagick instance
 is only created once per upload (not once per thumbnail size), so there's
 nothing to optimize there either.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/6821#comment:95>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list