How to get EXIF tags in Windows Phone 7

342450 pts.
Tags:
Mobile
Windows Phone 7
I'm trying to get the EXIT tags for one of the images I took in Windows Phone 7. I've already tried using ExifLib, but it's not working for me. Currently in my event handler for "CaptureImageAvailable", I have this code: JpegInfo info = ExifReader.ReadJpeg(e.ImageStream, "Pic.jpeg"); Dispatcher.BeginInvoke(delegate() { textBox1.Text = info.ExposureTime.ToString(); textBox2.Text = info.FNumber.ToString(); }); e.ImageStream.Close(); So, "textbox1" and "textbox2" are both showing zero. My Cam.Capture event is already firing 200 milliseconds. That doesn't affect the values, right? Thanks for the help.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Have you tried to see some of the other values returned in the JpegInfo object?

    Also, have you reviewed the exif info from the image with an external tool, to be sure it in fact includes the data you expect?
    68,495 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following