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

Some portrait images are being rotated to landscape upon importing #7

Open
wprater opened this issue Jan 22, 2010 · 7 comments
Open
Labels

Comments

@wprater
Copy link

wprater commented Jan 22, 2010

No description provided.

@thomcowell
Copy link
Owner

Can you please provide an image where this bug is showing up

@wprater
Copy link
Author

wprater commented Jan 22, 2010

This is one of them:
http://dl.dropbox.com/u/774591/Andy.jpg

@thomcowell
Copy link
Owner

hi The image you provided is already in landscape, is it supposed to be portrait?

@wprater
Copy link
Author

wprater commented Jan 22, 2010

Hi. There must be something goofy going on. When I view on my computer the images are portrait. When I preview from the URL you gave me, they are landscape and it's the same image. Perhaps there is a meta tag that flips the image for some image viewers?

@wprater
Copy link
Author

wprater commented Jan 22, 2010

Looks as if there is an orientation flag set to 90 deg. CW

@thomcowell
Copy link
Owner

How is the orientation flag being set? I am inclined to not support or look for the flag orientation flag but to add rotate functionality to the gallery. Any thoughts?

@wprater
Copy link
Author

wprater commented Jan 26, 2010

It's being set in the EXIF data of the jpeg. It would probably be a good idea to read the data, adhere to it and rotate accordingly. Especially if you're planning to add rotation to the tool anyway.

I might add cropping functionality. I'll be sure to let you know when I do.

http://www.abc-view.com/articles/article5.html

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

No branches or pull requests

2 participants