Image color changed inside a PDF
- From: "Billy Footmark" <footmark00 (at) gmail.com>
- Date: Fri, 27 Oct 2006 17:06:05 -0400
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
Attachment:
Clip2.jpg
Description: JPEG image
-------------------------------------------------------------------------
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