I need to programmatically get the name of the color ICC profile used (e.g Adobe RGB (1998))!
The -verbose command gives the ICC profile, but for some reason it just returns an empty string to .NET and writes directly to the console.
Is there any other way to get the name of the ICC profile programmatically?
Here is an example of how i extract data from images.
Code: Select all
object[] arguments = new object[] { "-units", "PixelsPerInch", "-format", "%[EXIF:*]|%w|%h|%x|%y|%q|%m|%k|%b|%r|%#|%C|%l", absolutePath + "[0]" };
object result = magick.Identify(ref arguments);
string[] info = result.ToString().Split('|');