[英]Loading an ICC profile with Magick++
Here is my code: 这是我的代码:
Blob rgbBlob;
ifstream LoadFile;
Image profile_test("sRGB.icc");
profile_test.write(&rgbBlob);
jpg_src.profile("ICC",rgbBlob);
I'm trying to load an ICC file and resize but I can't. 我正在尝试加载ICC文件并调整大小,但我做不到。 Instead, I'm getting this error:
相反,我收到此错误:
terminate called after throwing an instance of 'Magick::WarningMissingDelegate'
what(): Magick: DelegateLibrarySupportNotBuiltIn `5orig.jpg' (LCMS) @ warning
/profile.c/ProfileImage/5743
1 [sig] scale_image 2052 open_stackdumpfile: Dumping stack trace to scale_
image.exe.stackdump
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.