3
我正在尋找具有CMYK支持(JPG或TIF)的圖形庫。我必須閱讀一個大的圖像文件和一個小的文件,然後先寫第二個文件。輸出也必須是CMYK(沒有任何CMYK-> RGB轉換)。有什麼? (C#/ C++/Java或其他)這是任何CMYK圖形庫嗎?
我正在尋找具有CMYK支持(JPG或TIF)的圖形庫。我必須閱讀一個大的圖像文件和一個小的文件,然後先寫第二個文件。輸出也必須是CMYK(沒有任何CMYK-> RGB轉換)。有什麼? (C#/ C++/Java或其他)這是任何CMYK圖形庫嗎?
(免責聲明,我爲Atalasoft工作) Atalasoft dotImage將以CMYK格式讀取和寫入圖像以及在CMYK空間中執行重疊操作。
你需要做到這一點的代碼是:
public void OverlayCMYKOnCMYK(Stream bottomStm, Stream topStm, Point location, Steam outStm)
{
using (AtalaImage bottom = new AtalaImage(bottomStm, null), top = new AtalaImage(topStm, null)) {
// might want to check that both bottom and top have the same PixelFormat
// OverlayCommand will silently do conversions if they don't match.
OverlayCommand overlay = new OverlayCommand(top, location);
overlay.Apply(bottom);
bottom.Save(outStm, new TiffEncoder(), null);
}
}
是有使字體CMYK的色彩與RGB輸出轉換爲CMYK任何庫? – Media 2016-08-25 15:16:34