question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EXIF data not available

See original GitHub issue

Hi,

I tried to use the EXIF data from my images but I do always get “null”. With another library (MetadataExtractor, which is a bit oversized for me…) I can read the information so it is available.

The code used is the one found inside the documentation:

// Read image from file
using (MagickImage image = new MagickImage("FujiFilmFinePixS1Pro.jpg"))
{
  // Retrieve the exif information
  ExifProfile profile = image.GetExifProfile();

  // Check if image contains an exif profile
  if (profile == null)
    Console.WriteLine("Image does not contain exif information.");
  else
  {
    // Write all values to the console
    foreach (ExifValue value in profile.Values)
    {
      Console.WriteLine("{0}({1}): {2}", value.Tag, value.DataType, value.ToString());
    }
  }
}

profile is always null. Test image: https://www.48design.de/downloads/raw_images/raw_image.7z

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
dlemstracommented, Dec 10, 2017

For the tiff format you will need to iterate through the image.AttributeNames and find the attributes thats start with "exif:" but you cannot get them as an ExifValue. And it looks like we only set dng: attributes for the RAW files at the moment. Already did some investigating into how we could parse the exif information but that won’t be easy. Will need to do some more research when I have some free time to check this.

0reactions
dlemstracommented, Aug 5, 2023

Please read my comments from earlier and I will now close this issue now because it seems to be hijacked for various things.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RawTherapee 5.9 - CR3 Exif support
Hello, I'm trying v5.9 and I see there is still no exif data from CR3 files (R5 in my case). I installed 5.9...
Read more >
How do I get exif data working again in Catalina?
Ensure that you have Spotlight indexing the Images category in System Preferences : Spotlight : Search Results, and that your Macintosh HD is ......
Read more >
Any way to read EXIF data on CR3 files? : r/Rawtherapee
Hi all. I'm currently running RT 5.8-1 in Linux Mint 20.3, and I can't read the EXIF data on CR3 files. Is there...
Read more >
Exif data not available in the images path #1952
When we use the openCamera and openPicker methods with no cropping and with the option includeExif set to true , we get the...
Read more >
The Help Forum: Camera EXIF data missing or incomplete
My working theory is that somewhere along the line, somebody's software is not reporting or reading the data correctly. You might want to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found