You will need to add code to the TIFF reading component of iText to identify, 
read, and parse the clipping path information into something that can be used 
in other parts of iText.  Then you’ll need to use that information to actually 
“draw” the clipping path in the PDF as part of the creation (either explicitly 
or added an option to the image handling).

NOTE – clipping paths in TIFF are compatible with other formats (JPEG, PNG, 
etc.) so you might want to support all images…

Leonard

From: Dean Krueger [mailto:[email protected]]
Sent: Wednesday, August 11, 2010 2:25 PM
To: [email protected]
Subject: [iText-questions] Tiff Clipping paths

Hi,
 I am using iText to build a flat of tiff images. Some of these tiff images 
have clipping paths, how can I activate the clipping path when I place it on 
the pdf? I have checked the book and itext mail groups, and have come up with 
only reference to creating shapes. The clipping path I need is in the tiff file 
its self, if I place this image in inDesign the clipping path shows up 
correctly, but when I place it on the PDF its just the square image.

Thanks
Dean Krueger
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to