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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,769)