[wp-trac] [WordPress Trac] #14459: Rotate Full Size Images on Upload

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 18 21:34:32 UTC 2012


#14459: Rotate Full Size Images on Upload
-----------------------------------------------------+------------------
 Reporter:  mrroundhill                              |       Owner:
     Type:  enhancement                              |      Status:  new
 Priority:  normal                                   |   Milestone:  3.5
Component:  Upload                                   |     Version:  3.0
 Severity:  normal                                   |  Resolution:
 Keywords:  needs-patch mobile westi-like 3.4-early  |
-----------------------------------------------------+------------------

Comment (by azaozz):

 The best way to handle this in PHP is with jpegtran and exiftool. Both are
 command line tools available for all platforms, the EXIF is fully
 preserved (EXIF orientation is reset with exiftool) and the quality of the
 JPEG is preserved 100%. However using them would also require PHP's
 `exec()` to be enabled.

 Another option is to rotate only the resized images leaving the original
 as-is (flikr does this). Can do that only for larger JPEG images like
 photos, larger than the max size.

 Yet another option would be to rotate the images on display. In most
 current browsers this is possible now but will be hard to implement in
 core.

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


More information about the wp-trac mailing list