<Picture />
ignoring src's IFD0:Orientation
metadata
#7442
Labels
pkg: image
Related to the `@astrojs/image` package (scope)
What version of
astro
are you using?2.5.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Linux
What browser are you using?
Brave (Chromium)
Describe the Bug
The element is ignoring the
IFD0:Orientation
image metadata of the src attribute which results in falsely rotated images and a stretched image.Example
The following image with width 2998, height 3998 and orientation 90 degrees clockwise as displayed by gThumb:
The result of passing it through Astro's
<Picture>
element:What's the expected result?
The image metadata orientation should be taken into account.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-m6jojv
Participation
The text was updated successfully, but these errors were encountered: