Image color changed inside a PDF
- From: "Paulo Soares" <psoares (at) consiste.pt>
- Date: Fri, 27 Oct 2006 23:25:25 +0100
Post the image, we are not psychics.
Paulo
----- Original Message -----
From: "Billy Footmark" <footmark00 (at) gmail.com>
To: <iText-questions (at) lists.sourceforge.net>
Sent: Friday, October 27, 2006 10:06 PM
Subject: [iText-questions] Image color changed inside a PDF
> Hi,
>
> I am using iText to include an image as a watermark, the image itself is
> transparence with grey text, but it turn out to be some orange color.
> And the logo image with red background color turned to black. Can someone
> give me idea how to fix it. Thanks in advance. Here are the code:
>
> PdfContentByte under;
> PdfContentByte over;
> Image waterMarkImg = Image.getInstance(waterMark_filename);
> waterMarkImg.scalePercent(70);
> waterMarkImg.setAbsolutePosition(80, 280);
> under = newDocument.getUnderContent(1);
> under.addImage(waterMarkImg);
> newDocument.close();
>
> Regards,
> William
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions