2008/2/20, Leonard Rosenthol <[EMAIL PROTECTED]>: > > Hmm, doesn't help :-( I tried every blend mode, but this doesn't > > prevent Acrobat from switching to the CMYK color space. > > > > You need to set the COLORSPACE to DeviceRGB...
Thanks, but how can I achieve it? I tried 1. ImgTemplate image2 = new ImgTemplate(template); PdfArray colorspace = new PdfArray(); colorspace.add(PdfName.DEVICERGB); PdfDictionary ad = new PdfDictionary(); ad.put(PdfName.COLORSPACE, colorspace); image2.setAdditional(ad); 2. PdfDictionary ad = new PdfDictionary(); ad.put(PdfName.COLORSPACE, PdfName.DEVICERGB); image2.setAdditional(ad); Without luck. Stephan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/