Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image resize is changing the orientation #236

Closed
1 task
raaone7 opened this issue Oct 4, 2020 · 2 comments
Closed
1 task

Image resize is changing the orientation #236

raaone7 opened this issue Oct 4, 2020 · 2 comments
Labels

Comments

@raaone7
Copy link

raaone7 commented Oct 4, 2020

Describe the bug
Image resize is changing the orientation
i.e. from portrait to landscape internally

To Reproduce
Upload any image in portrait mode , with resolution say 1500 x 2000 pixels
try to retrieve the image at 300 x 300 pixels, the image is been changed to landscape mode

Expected behavior
try to retrieve the image at 300 x 300 pixels, the image should be returned in portrait mode

Please complete the following information about the solution:

  • [ v5.0.0 ] Version: [e.g. v1.0.0]
  • [ us-east-1 ] Region: [e.g. us-east-1]
  • [ no ] Was the solution modified from the version published on this repository?
  • If the answer to the previous question was yes, are the changes available on GitHub?
  • [ yes ] Have you checked your service quotas for the sevices this solution uses?
  • [ no ] Were there any errors in the CloudWatch Logs?

Screenshots

Additional context

@raaone7 raaone7 added the bug label Oct 4, 2020
@raaone7
Copy link
Author

raaone7 commented Oct 4, 2020

{"bucket":"test.images.abc.com","key":"place/annam_little_bourke_st_3-20201004_073716.jpeg","edits":{"rotate":null,"resize":{"width":400,"height":400,"fit":"cover"}}}

did the trick, and its working.

@raaone7 raaone7 closed this as completed Oct 4, 2020
@z-br
Copy link

z-br commented Apr 3, 2021

Why is this issue closed? I don't think the underlying issue is fixed, although there appear to be attempts in the code to maintain orientation. I used the rotate:null workaround and it worked for me as well, but it seems a bit hacky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants