Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Hard mask from image file

M.-Leander Reimer

2007-07-13

Replies:

Hi iText users,

I have started playing aroung with image masks because I need to make
certain parts of an image transparent.

I have seen the tutorial where the image mask is constructed from a
black and white byte array. But the byte array I would require must be
bigger than 8x8 and would need to differ from image to image, so a
statically defined byte array is unsuitable.

So the questions is: Can I make a hard mask directly from images loaded
from a file, and if so, what formats are supported here?

Thanks for your help,
Leander

-------------------------------------------------------------------------
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
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.