[wp-trac] [WordPress Trac] #37140: Rotating images doesn't adjust orientation for imagick

WordPress Trac noreply at wordpress.org
Mon Aug 8 16:03:13 UTC 2016


#37140: Rotating images doesn't adjust orientation for imagick
-------------------------------------------------+-------------------------
 Reporter:  triplejumper12                       |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Media                                |  Release
 Severity:  normal                               |     Version:  3.5
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by sanchothefat):

 Replying to [comment:8 lukecavanagh]:
 > @sanchothefat
 >
 > Great news.
 >
 > Hopefully this can be fixed in core. Since it seems like it has been a
 minor issue for a while.

 Awesome. while it's not fixed on upload immediately I think it at least
 makes sense to update the orientation data when someone intentionally
 rotates the image. With some further testing setting the value to
 `Imagick::ORIENTATION_TOPLEFT` eg. 1 works fine and is probably
 preferable.

 Will have a go at adding some tests.

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


More information about the wp-trac mailing list