English 中文(简体)
The are any CMYK graphics library?
原标题:

I m looking for graphics library with CMYK support(JPG or TIF). I have to read one big image file and one small, then write second on first. Output have to be also CMYK(without any CMYK->RGB conversion). There are any? (C#/C++/Java or somthing else)

最佳回答

(Disclaimer, I work for Atalasoft) Atalasoft dotImage will read and write images in as CMYK as well as perform overlay operations in CMYK space.

the code you would need to do this is:

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);
   }
}
问题回答

暂无回答




相关问题
Splitting a multipage TIFF image - With .NET and IronPython

I had a scanned multipage TIFF image and needed to split each page out into individual files. This is easy to do in by leveraging the .NET framework and C#, but since I did not have all the ...

How can Multi-image TIFF files be split with PHP?

I ve got a client who needs me to use PHP to split a TIFF image (which contains 2 or 3 images, sort of like an animated GIF) into its component images. Can ImageMagick or one of the other graphic ...

Convert TIFF to PostScript

I m writing .net code (Windows Forms Application) which reads a TIFF image (CMYK) and sends it to printer (using WritePrinter). Before I send it, I need to convert the TIFF image to PostScript. Could ...

Image.Save question (save CMYK image to CMYK image)

In Windows Forms Application, I m trying to open the image (CMYK tiff), add text, and then save back to CMYK tiff image, but when I opened the output image in Photoshop, it was RGB image (the colors ...

Load image into memory immediately

I need to open all frames from Tiff image in WPF into memory and then delete the source. And after that I eventually need to render that image (resized according to window size). My solution is quite ...

How do I store TIFF files in Oracle?

I have an ASP.NET application (vb.net codebehind) that has serious performance problems because of its storage of TIFF files in one server share. There are over a million .TIF files there now! The ...

热门标签