4
我試圖用freeimage來調整iamges的大小,並確定它們仍然在cmyk中。使用Freeimage api
但是我一直停留在使用freeimage的最基本的步驟,我找不到任何有關此問題的答案或類似問題。
我donwloaded從這個站點http://freeimage.sourceforge.net/download.html freeimage dll,並嘗試引用dist文件夾中的dll。這給了我一個錯誤:「沒有找到類型庫」
我試圖引用庫項目到我的項目,這讓我添加「使用FreeImageAPI」和位圖類型,但是當我建立我的項目時,我得到40錯誤沿線︰
"Error 20 Warning as Error: XML comment on 'FreeImageAPI.RGBQUAD.Equals(FreeImageAPI.RGBQUAD)' has a paramref tag for 'obj', but there is no parameter by that name"
"Error 20 Warning as Error: XML comment on 'FreeImageAPI.RGBQUAD.Equals(FreeImageAPI.RGBQUAD)' has a paramref tag for 'obj', but there is no parameter by that name"
最後我試着在包裝文件夾中運行的解決方案,看看那裏的樣品。但是構建這個解決方案會產生近500個類似於上面提到的錯誤。
我是否錯過了一些完全明顯的東西?