Add support for EXIF orientation #191
-
Most, if not all, image viewers already support automatically rotating the displayed image based on EXIF orientation and even browsers are now doing this by widely supporting ImageSharp does include an ImageSharp.Web doesn't include a web processor for this and only has an Ideally, correctly supporting this in ImageSharp could be done by:
And for ImageSharp.Web, we should ensure the image is also mutated when |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
No they don’t. They expect the correct (dictated) orientation to be rotated to what their naïve expectations are by magic.
If we were to add support it would be implemented purely as a processor instance with explicit instruction per request. It's really important we do not introduce unexpected behavior on a global level.
This makes no sense. If there are no commands and |
Beta Was this translation helpful? Give feedback.
-
Any update on this? I have the same issue in one of my projects. |
Beta Was this translation helpful? Give feedback.
-
The
Also awesome to see this discussion identified the issue regarding inserting/ordering commands, which got fixed in #203 👍🏻 |
Beta Was this translation helpful? Give feedback.
The
ResizeWebProcessor
will now respect the EXIF orientation by default (as part of v2) 🎉Also awesome to see this discussion identified the issue regarding inserting/ordering commands, which got fixed in #203 👍🏻