On 11/2/11 9:13 AM, "Kevin Day" <[email protected]> wrote:
> >Leonard Rosenthol-3 wrote: >> >> For certain types of PDFs and PDF graphic objects, it can be done - for >> others, it's pretty tricky. >> > >Do you have some additional cases that he should be thinking about? Not >asking for an exhaustive list, but knowing some example of those would be >quite useful as this progresses. Shadings and Clipping are two things that come to mind immediately. Secondarily would be the impact of transparency. >1. Raster images can theoretically just use the bounding box of the image >(assuming that the full image is what he wants). Adjusted accordingly by the CTM, yes. >2. Vector graphics should be doable by handling the vector draw operations >(either by determining the union of bounding boxes of all draw operations, >or some sort of raster processing technique that is probably beyond my >math >skills). Ensuring that these operations happen in page space (or are >translatable to page space) should be just an engineering task. Should be fairly simple, by just using the set of points in the operation as the "end bounds". It won't be perfect (since it won't take into account stroke widths and the like, but it will be fairly close). >3. Text. But we already have text handling pretty much under control. Right, provided that all the CTM and TM operations are considered along with text metrics. >4. Form elements (I doubt this is of concern to the OP) >5. Annotations (might be of concern to the OP) I assume not. Leonard ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
