You have the tranformation: 0.99985 -0.01745 0.01745 0.99985 100 300 cm
before the images. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Benjamin Podszun > Sent: Thursday, July 07, 2005 11:41 AM > To: [email protected] > Subject: [iText-questions] document.add(image) displays fine, > ColumnText.showTextAligned(new Phrase(new Chunk(Image, 0, > 0)), x, y, Element.ALIGN_UNDEFINED) doesn't > > Hi there. > > Sorry for asking so much questions.. I just started with > having a look > at PDF files at all and - some things just look very strange. > > I found the sample > http://itextdocs.lowagie.com/examples/com/lowagie/examples/obj > ects/images/Images.java > and used it to understand how (easily) I can load and include a tiff > file. I used exactly the image from the sample and tried to reuse the > code part. > > Image tiff = Image.getInstance("iText.tif"); > document.add(tiff); > > works like a charm. Trying (well - I don't think I really > _need_ it that > way, but - it seemed natural to me trying to add the image > the same way > as I added texts) to use another approach failed: > > ColumnText.showTextAligned(cb, 0, new Phrase(new Chunk(tiff, > 0f, 0f)), > 0f, 0f, Element.ALIGN_UNDEFINED); > > does display the image at the specified coordinates, but it's > a little > bit rotated - and I've no idea why.. [1] > > Any hints on this behaviour would be greatly appreciated. > > Regards, > Ben > > [1]: Generated pdf is at > http://jay.webtales.4players.de/ben/CellWidths.pdf > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
