Re: [iText-questions] problem with image mask

2009-06-06 Thread 1T3XT info
irashkin wrote: > Thanks, yeah, it works for me too in cases like that. Seems like it must be > related to rotation and masking together. At any rate, I got around it and > made it work by changing my code so i could use ConcatCTM() instead of > setting rotation on the image. I'm still stumped thou

Re: [iText-questions] problem with image mask

2009-06-06 Thread irashkin
Thanks, yeah, it works for me too in cases like that. Seems like it must be related to rotation and masking together. At any rate, I got around it and made it work by changing my code so i could use ConcatCTM() instead of setting rotation on the image. I'm still stumped though as to why it behaved

Re: [iText-questions] problem with image mask

2009-06-06 Thread 1T3XT info
irashkin wrote: > iDocument.Add(xImg); What if you use: writer.getDirectContent().addImage(xImg); Image masking works for me: http://1t3xt.be/?X00022a -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

[iText-questions] problem with image mask

2009-06-03 Thread irashkin
Hi, I am actually using iTextSharp, but I'm asking here in case the problem is more universal - I'm trying to use a black and white gif as an image mask. Included here is a snippet of the code which is creating a PDF for printing based on various input. xImg below is a iTextSharp.text.Image, as