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 orientation? #10

Closed
acomito opened this issue Sep 4, 2017 · 3 comments
Closed

image orientation? #10

acomito opened this issue Sep 4, 2017 · 3 comments

Comments

@acomito
Copy link

acomito commented Sep 4, 2017

Have you considered adding a check for image orientation? Or an option to leave exif data? I am doing more image work on the server with sharp, which has an autorotate feature, but the if I run the file through this on the client first, sharp will have no exif data to autorotate with. This is mostly an issue with images people upload via their iphone.

A similar package to this, import loadImage from 'blueimp-load-image', has a rotate feature.

I'll look at exif-js or something else to maybe pre-pre-process it, but it'd be awesome to just pass in an extra option to image-compressor.

@0x346e3730
Copy link

+1, portrait pictures taken on phone are rotated to landscape

@hanai
Copy link

hanai commented Sep 12, 2017

+1, same issue

@fengyuanchen
Copy link
Owner

The new release (v0.5.0) supports to check orientation now.

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

No branches or pull requests

4 participants