質問

CMYKサポート(JPGまたはTIF)を備えたグラフィックライブラリを探しています。 1つの大きな画像ファイルと1つの小さなファイルを読み、最初に2番目に書く必要があります。出力もCMYKである必要があります(CMYK-> RGB変換なし)。何かありますか? (C#/c ++/javaまたはsomthing else)

役に立ちましたか?

解決

(免責事項、私はAtalasoftで働いています)Atalasoft Dotimage as 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);
   }
}
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top