AddProfile very slow from version 7.2.0.0
Posted: 2018-04-03T03:57:18-07:00
Hi everyone,
from version 7.2.0.0 the AddProfile method, using a device link icc profile, is very slow.
My simple code is:
You can find the IN.tif (CMYK 600 dpi LZW TIFF) file here:
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
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