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

New Post: AddProfile causes NullReferenceException

$
0
0
I am not sure if you understand how the ExifProfile constructor works. You cannot use it to read the exif profile from an image file. That constructor expects only image data. I just pushed a patch to the git repository to fix the exception. I don't understand why it sometime works and sometimes doesn't with the same file. The values should always be null but should not crash. Can you share the file so I can try to reproduce this.

Also checking 'if (exif != null)' makes no sense to me because you are using a constructor.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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