That's a private method.
What public method did you call, with what parameters, and what did you
expect to happen?
What happens in a JPanel that doesn't happen in PDF?
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Carlos
> Sent: Thursday, April 26, 2007 1:32 PM
> To: [email protected]
> Subject: [iText-questions] drawImage in PDFGraphics2D
>
> Hello,
>
> I have been looking the source of PDFGraphics2D and I found
> that the method:
>
> private boolean drawImage(Image img, Image mask,
> AffineTransform xform, Color
> bgColor, ImageObserver obs)
>
> Aplies a mask in the image if this mask is not null. But when
> this mask is
> applied, the transparency of the original image is not
> applied, and if I comment
> the lines
>
> if (mask!=null) {
> com.lowagie.text.Image msk =
> com.lowagie.text.Image.getInstance(mask, null, true);
> msk.makeMask();
> msk.setInvertMask(true);
> image.setImageMask(msk);
> }
>
>
> The transparency apears in the generated pdf. what is the
> reason for this? Are
> there any solution to solve my problem?
>
> Thanks.
>
>
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/