-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use EXIF to determine photo orientation #49
Comments
Hi @siccovansas, thanks for your feedback. Since the app only integrates the Photosphere Viewer JS library, which is then responsible for showing the image, i'm afraid there's not much we can do here. Like discussed in #1 an option might be to update the component to version 4 which is now released (currently we're using version 3). But i don't know if the viewer supports the desired functionallity then. If you're okay with that you could provide some sample-data and i'll try? |
Hi @R0Wi, thanks for your reply! Here is an example image that is shown upside down: https://we.tl/t-4gmfXk2ovp (the image is larger than GitHub's 10MB attachment limit, so I needed to use an external service) |
Thanks for the sample. I did a quick setup with the
So it seems that the viewer has problems showing your specific image because of it's metadata. I extracted the XMP-metadata of your image and it looks like this: <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="" xmlns:GPano="http://ns.google.com/photos/1.0/panorama/"
GPano:ProjectionType="cylindrical"
GPano:CroppedAreaImageWidthPixels="12896"
GPano:CroppedAreaImageHeightPixels="3824"
GPano:FullPanoWidthPixels="23800"
GPano:CroppedAreaLeftPixels="5452"
GPano:CroppedAreaTopPixels="-1912"/>
</rdf:RDF>
</x:xmpmeta> I'm not an absolute XMP expert but what i can say is that the |
Thanks for looking into it! I'll open an issue at the Photosphere Viewer JS repo and link back to here 👍 |
Closing this for now. Please reopen if the app itself can help to overcome the issue. |
Over at Photosphere Viewer JS they don't see any issues with the image, so I guess that version 4 fixes it. |
Woops, I misunderstood. Apparently version 4 doesn't fix it and my image seems to be the problem. Nothing you can do then :) |
When you create a panorama/photo sphere using a smartphone, depending on your phones orientation while capturing the image, you can end up with an image that is stored 'upside down', but the EXIF should state that. Currently this app seems to not process this information, so some of my panoramas are shown upside down. Could this be fixed?
Awesome app by the way!
The text was updated successfully, but these errors were encountered: