Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

images with a long height get flipped #657

Closed
o7abeeb opened this issue Apr 11, 2016 · 16 comments
Closed

images with a long height get flipped #657

o7abeeb opened this issue Apr 11, 2016 · 16 comments

Comments

@o7abeeb
Copy link

o7abeeb commented Apr 11, 2016

@fengyuanchen why images with long height get flipped ??

2016-04-11_15-42-31

2016-04-11_15-43-13

@fengyuanchen
Copy link
Owner

@o7abeeb
Copy link
Author

o7abeeb commented Apr 13, 2016

@fengyuanchen how can i use it ?
i tried checkOrientation: false and checkOrientation: true
and get the same issue !!

@fengyuanchen
Copy link
Owner

Set checkOrientation: false should work. If not, send me the image, I will test it on my browser.

@o7abeeb
Copy link
Author

o7abeeb commented Apr 13, 2016

@fengyuanchen here is the image

3

@o7abeeb
Copy link
Author

o7abeeb commented Apr 13, 2016

open it on full width

@fengyuanchen
Copy link
Owner

The Exif Orientation value of your image is 8, which means the image rotate -90 degree. It is incorrect as the image never rotated. The correct value should be 0.

@fengyuanchen
Copy link
Owner

You can try this image: http://fengyuanchen.github.io/loader/img/potala.jpg

@o7abeeb
Copy link
Author

o7abeeb commented Apr 13, 2016

i dont really understand, how can i fix it now ??
your image get flipped too !

@fengyuanchen
Copy link
Owner

In one word, the image you provided has a wrong orientation value, just ignore it.

And in your app, just set the checkOrientation option to false, no need to do anything else.

@o7abeeb
Copy link
Author

o7abeeb commented Apr 13, 2016

'' In one word, the image you provided has a wrong orientation value, just ignore it. ''

how can i do it if the users upload images like it ?

@fengyuanchen
Copy link
Owner

Just delete the image in your computer and forgot it forever!

@o7abeeb
Copy link
Author

o7abeeb commented Apr 13, 2016

hhhhh that will fix it on my pc, what about other user's images like it ??

@fengyuanchen
Copy link
Owner

I will add a note for incorrect Orientation value in the documentation.

@fengyuanchen
Copy link
Owner

@wcj343169893
Copy link

I upload a photo, the original vertical screen, but in the box becomes a horizontal screen, also squashed. As shown in Figure
img_0462

@fengyuanchen
Copy link
Owner

@wcj343169893 see #120.

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

No branches or pull requests

3 participants