You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When an image is rotated the height and width are not changed. For example, if we have an image with an orientation of 6, we need to rotate it 90 degrees to be viewed properly. When calling .rotate(270) on the image, black bars are added to the left and right of the image to maintain the original height and width. Rotating the image 90 degrees causes the height and width to be swapped, but it looks like the height and width are not swapped causing black bars on either side of the image.
Describe the bug
When an image is rotated the height and width are not changed. For example, if we have an image with an orientation of 6, we need to rotate it 90 degrees to be viewed properly. When calling
.rotate(270)
on the image, black bars are added to the left and right of the image to maintain the original height and width. Rotating the image 90 degrees causes the height and width to be swapped, but it looks like the height and width are not swapped causing black bars on either side of the image.Original Image: IMG_0156 - Copy (2) (1).jpeg
Resulting Bug: Bug.jpeg
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the image to be rotated and the height and width to be swapped because we rotated the image 90 degrees
Screenshots
See attached images for before and after
Platform:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: