cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerAppUserCan
Regular Visitor

Read Exif data from photo in disconnected Canvas app

I know how to read the Exif data from a photo uploaded to the server from a Canvas app.

 

But I have a requirement for an offline Canvas app to extract the Exif data from a photo.

 

Is there a way to extract the latitude and longitude from the Exif data of a photo (not from the phone GPS device) in disconnected mode?

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @PowerAppUserCan :

I am afraid that the Canvas App cannot recognize the text in the picture when it is offline. If it is not offline, you can consider using AI builder to achieve this requirement.

Best Regards,

Bof

View solution in original post

3 REPLIES 3
FarrellDrafting
Advocate II
Advocate II

Have you tried extracting the image into JSON format in powerapps? youd have to write a filter to find the data you want, but it should contain all the images metadata.

PowerAppUserCan
Regular Visitor

I can get the base64 string using JSON(UploadedImage1.Image, JSONFormat.IncludeBinaryData) but I do not know how to get the geolocation data and date out of the base64 string.

 

On the server I use this NuGet package https://www.nuget.org/packages/MetadataExtractor/ but I do not know how get the same metadata from base64 string.  Do you have any code that extracts the geolocation and date from the base64 string?

v-bofeng-msft
Community Support
Community Support

Hi @PowerAppUserCan :

I am afraid that the Canvas App cannot recognize the text in the picture when it is offline. If it is not offline, you can consider using AI builder to achieve this requirement.

Best Regards,

Bof

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,652)