beppe costagliola wrote:
I'm trying to scale a watermark.In the onOpenDocument I coded: makitaImage = Image.getInstance("/pdf/" +"Makita_red.jpg"); makitaImage.scalePercent(75); In the onEndPage: cb.addImage(makitaImage, .....); but the image does not resize.
Using cb.addImage is different from using doc.add(Image); where you have the dots, you can define the x and y value, but also the other elements in the transformation matrix. What values are you using? br, Bruno ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
