2012-05-09 95 views
0

這裏的ICC配置文件是我的代碼:裝入有Magick ++

Blob rgbBlob; 
ifstream LoadFile; 
Image profile_test("sRGB.icc"); 
profile_test.write(&rgbBlob); 
jpg_src.profile("ICC",rgbBlob); 

我試圖加載ICC文件和調整,但我不能。相反,我得到這個錯誤:

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 

回答

1

您需要重建imagemagick支持正確的庫。在這種情況下,您必須重建LCMS支持。

source