Re: LC9.6 Android EXIF image data issue

2020-05-14 Thread Alan Stenhouse via use-livecode
Thanks Mark and Monte for the info.

Had already stopped using the width/height specs and for photos from the 
library we had been getting EXIF info and still do in many cases (I think - 
more testing needed!), but as we can't do anything about what the OS gives us, 
I'll just slightly change the message for the user to inform them.

Thanks again, cheers

Alan

> On14 May 2020 09:16:20, Mark Waddingham  wrote:
> 
> iOS definitely strips EXIF data in some cases - perhaps it is just from 
> photos taken with the camera or maybe it varies slightly with OS 
> version.
> 
> The Android case you are observing is probably because the EXIF data is 
> being stripped also.
> 
> Assuming you don't use a width/height argument on mobilePickPhoto then 
> we just return the data which we are given with no processing at all - 
> so you are getting what the OS wants you to get.
> 
> It might be that Samsung's camera app is a little more security 
> conscious than other Android variants :(
> 
> Warmest Regards,
> 
> Mark.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC9.6 Android EXIF image data issue

2020-05-14 Thread Mark Waddingham via use-livecode

On 2020-05-13 23:54, Alan Stenhouse via use-livecode wrote:

Hi Monte

Thanks for the info, though that is bad news. It had previously come
through on iOS ok - when picking a photo from the library, and also on
Android AFAIK.

Do we have any way of getting EXIF data from an image picked from an
image library using MobilePickPhoto?

Thanks again for the info!


iOS definitely strips EXIF data in some cases - perhaps it is just from 
photos taken with the camera or maybe it varies slightly with OS 
version.


The Android case you are observing is probably because the EXIF data is 
being stripped also.


Assuming you don't use a width/height argument on mobilePickPhoto then 
we just return the data which we are given with no processing at all - 
so you are getting what the OS wants you to get.


It might be that Samsung's camera app is a little more security 
conscious than other Android variants :(


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC9.6 Android EXIF image data issue

2020-05-13 Thread Alan Stenhouse via use-livecode
Hi Monte

Thanks for the info, though that is bad news. It had previously come through on 
iOS ok - when picking a photo from the library, and also on Android AFAIK.

Do we have any way of getting EXIF data from an image picked from an image 
library using MobilePickPhoto?

Thanks again for the info!

cheers

Alan

> On 13 May 2020 12:03:41 +1000,Monte Goulding wrote:
> 
> EXIF data from the returned photo in mobilePickPhoto probably shouldn?t be 
> relied upon. On iOS it definitely won?t be there. On Android it definitely 
> won?t be there if calling mobilePickPhoto with width and height parameters 
> but if those parameters aren?t used it might be there (depending on what the 
> camera app does).
> 
> Cheers
> 
> Monte
> 
>> On 13 May 2020, at 11:39 am, Alan Stenhouse via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> There seems to be an issue with getting EXIF data from images using 
>> mobilePickPhoto on Android (well, at least new Samsung mobile phones).
>> 
>> I *think* this is a new bug with LC 9.6, but as I don't have a relevant 
>> phone to test with, it's sorta difficult to check further. Particularly as 
>> we couldn't even use mobilePickPhoto on these phones prior to 9.6!
>> 
>> Has anyone else seen this at all? If it's a new issue then it'd be great to 
>> get it resolved in the 9.6 cycle.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC9.6 Android EXIF image data issue

2020-05-12 Thread Monte Goulding via use-livecode
Hi Alan

EXIF data from the returned photo in mobilePickPhoto probably shouldn’t be 
relied upon. On iOS it definitely won’t be there. On Android it definitely 
won’t be there if calling mobilePickPhoto with width and height parameters but 
if those parameters aren’t used it might be there (depending on what the camera 
app does).

Cheers

Monte

> On 13 May 2020, at 11:39 am, Alan Stenhouse via use-livecode 
>  wrote:
> 
> There seems to be an issue with getting EXIF data from images using 
> mobilePickPhoto on Android (well, at least new Samsung mobile phones).
> 
> I *think* this is a new bug with LC 9.6, but as I don't have a relevant phone 
> to test with, it's sorta difficult to check further. Particularly as we 
> couldn't even use mobilePickPhoto on these phones prior to 9.6!
> 
> Has anyone else seen this at all? If it's a new issue then it'd be great to 
> get it resolved in the 9.6 cycle.
> 
> cheers
> 
> Alan
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LC9.6 Android EXIF image data issue

2020-05-12 Thread Alan Stenhouse via use-livecode
There seems to be an issue with getting EXIF data from images using 
mobilePickPhoto on Android (well, at least new Samsung mobile phones).

I *think* this is a new bug with LC 9.6, but as I don't have a relevant phone 
to test with, it's sorta difficult to check further. Particularly as we 
couldn't even use mobilePickPhoto on these phones prior to 9.6!

Has anyone else seen this at all? If it's a new issue then it'd be great to get 
it resolved in the 9.6 cycle.

cheers

Alan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode