-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Difference in GPS output on Desktop and Android. #378
Comments
I just build a minimum sample and put it at https://exif.ipdb.plus and it does not fail on Android. THis lead me to suspect that it is somehow unhappy with living with some of the other modules I use, so I will start adding them one by one and see what is happening. Any pointers are super welcome... |
It appear to have to do with the input element type=file, which will strip GPS info if you include the accept="" in the input element. If you skip that, you will get your GPS info....sigh |
Wow, what a find. I wonder what the reason is for that, especially if you can get around it by not setting the |
I added this info to the README and linked to this thread: https://github.com/mattiasw/ExifReader#gps |
Thanks Mattias,
I think you should change the type="File" accept="image/*" as this is what will make it fail, see below
<input type="file" name="myImage" accept="image/*" />
I think this will help many people moving forward.
I am not sure if this also apply to iOS, but I think having the text there, will help people on iOS anyway, as they might try out removing the 'type' specification.
Kind regards Henrik
…________________________________
From: Mattias Wallander ***@***.***>
Sent: Thursday, September 5, 2024 6:10 PM
To: mattiasw/ExifReader ***@***.***>
Cc: Henrik Rasmussen ***@***.***>; Author ***@***.***>
Subject: Re: [mattiasw/ExifReader] Difference in GPS output on Desktop and Android. (Issue #378)
I added this info to the README and linked to this thread: https://github.com/mattiasw/ExifReader#gps
—
Reply to this email directly, view it on GitHub<#378 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AO3TIRT42OYKPKDRGJVCIHDZVB65TAVCNFSM6AAAAABM4CLICWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZSGEZTCNZSGQ>.
You are receiving this because you authored the thread.
|
Hi there,
I know this has been discussed before, but I am quite sure my problem is different.
I use webpack to do a simple PWA where I make a call to load for a file, and get the results back.
All is fine on desktop, while on Android load returns a lot of NaN for the GPS values.
I tried the examples, and they return the values just fione on both desktop and android.
Is anybody else seeing this behaviour?
KInd Regards Henrik
The text was updated successfully, but these errors were encountered: