Reading file attributes quickly
Posted: 2017-12-15T11:46:50-07:00
I'm using the .Net library to develop an application that can read the attributes of CR2 (Canon EOS Raw) files and move them to another directory based on their attributes. I have successfully got this working however, it is really slow.
when I call new MagickImageInfo(path), it takes a good 1-2 seconds to open the file. I assume that this is actually loading the entire file to memory. I looked at using MagickImageInfo, but it does not provide the property that I am looking for.
I want to get the Date Taken value out of the file. Is there a more efficient way of doing this?
Thanks!
when I call new MagickImageInfo(path), it takes a good 1-2 seconds to open the file. I assume that this is actually loading the entire file to memory. I looked at using MagickImageInfo, but it does not provide the property that I am looking for.
I want to get the Date Taken value out of the file. Is there a more efficient way of doing this?
Thanks!