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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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