[wp-trac] [WordPress Trac] #10528: Media rotating, cropping, resizing etc in 2.9.

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 4 21:56:15 UTC 2009


#10528: Media rotating, cropping, resizing etc in 2.9.
------------------------------------------+---------------------------------
 Reporter:  JohnMyr                       |        Type:  feature request
   Status:  new                           |    Priority:  normal         
Milestone:  2.9                           |   Component:  Media          
  Version:                                |    Severity:  normal         
 Keywords:  rotating, cropping, resizing  |  
------------------------------------------+---------------------------------

Comment(by azaozz):

 Related ticket: #7042

 The challenge here is that imagerotate() is "...only available if PHP is
 compiled with the bundled version of the GD library". There are
 replacement functions but they are very slow especially for large images
 as they copy the source image pixel by pixel.

 Perhaps we can do image rotation only when the function is available.
 Image flip can be done with imagecopyresampled() (the same function used
 for resizing) and cropping with Jcrop.

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


More information about the wp-trac mailing list