from version 7.2.0.0 the AddProfile method, using a device link icc profile, is very slow.
My simple code is:
Code: Select all
using(MagickImage mi = new MagickImage(@"E:\IN.tif"))
{
mi.AddProfile(new ColorProfile(@"E:\DeviceLink.icc"));
mi.Write(@"E:\OUT.tif");
}
https://www.dropbox.com/s/57k8knyiwmp98xb/IN.tif?dl=0
and the device link (CMYK to CMYK) here:
https://www.dropbox.com/s/50t726x0scxqj ... k.icc?dl=0
Until version 7.1.0.0 the AddProfile method using .NET 4 x64 took about 1 second.
From version 7.2.0.0 it takes about 8,3 seconds (I've already tried the latest version).
The difference is huge.
I also read the change log but I've not found anything related.
Am I doing something worng or should I modify something in my code to restore the previous performance?
Thank you very much
Denis