Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: GetAttribute date:create returns current time instead of file creation time

$
0
0
When the image is read from a stream it has no clue about the original file. This means it cannot determine when the image was created and it will use the current time. But I don't understand why the following code works though:
using (MagickImage image = new MagickImage(@"d:\caspian.tif"))
{
  var dateTimeOriginal = image.GetAttribute("exif:DateTimeOriginal");
}
It appears that the image has exif information but not exif profile. I will take another look at it this weekend.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>