Laura Cobos wrote: > thank you for answering ... > > I suppose this is not the wisest way ..... but only to understand the > matter .... > if I understood you, my problem was 1 0 0 1 10.1406027 4.7716582 cm(*) > wasn't the position of the image, but it was a modification over the > present CTM.
Probably. I can't say without seeing the complete picture. I have no idea if that snippet of PDF syntax is part of the content stream of a page (what's the MediaBox?) or an XObject (where is it used?), but my guess would be that the translation using a vector (10.14, 4.77) is only part of the complete transformation. > So to extract the position of that image I had to multiply this one(*) > with the present CTM in the graphics state (graphics state parameter CTM > of graphic state -PdfReference 8.4 Graphics state 8.4.1 General)? Or > otherwise, this operation has no sense because the present CTM > parameter isn't one representing all previously existing transformations > (in that case I had to do manually from all or only some of the previous > transformations?)? You've lost me. I'm sorry, but I couldn't follow your train of thoughts. Read the PDF Reference, it's more clear there. There you'll find the definitive answer. > And could it be possible to retrieve this present CTM from the graphics > state stack of the pdf I am creating from using itext ? That's theoretically possible. You are always welcome to provide a practical implementation; because we don't have any. > Sorry for my insistence but I'd want to understand all this ... Please read the PDF Reference. It's all there. The PDF Reference is difficult to read, but don't expect us to be able to explain it in a more simple way. It is what it is. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
