Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #14459, comment 16


Ignore:
Timestamp:
06/18/2012 09:36:27 PM (12 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14459, comment 16

    v1 v2  
    11The 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.
    22
    3 Another option is to rotate only the resized images leaving the original as-is (flikr does this). This can be done only for larger JPEG images like photos, larger than the max size.
     3Another option is to rotate only the resized images leaving the original as-is (flikr does this). Perhaps this could be done only for larger JPEG images like photos, larger than the max size.
    44
    55Yet 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.