Andrew, Leonard isn't just being pedantic. It's important to understand what's happening here.
Peter Leonard Rosenthol wrote: > At 10:24 AM 7/6/2006, Andrew Thompson wrote: > >>Well basically I have an image that has a scale bar of 2.91 > > > At what resolution? 72dpi or 96dpi? > > > >>but when it is inserted into the pdf document it is being displayed as 3.4cm, > > > Are you providing a transform when you place it into the PDF? > > > >> if the pdf does not have a dpi then where has this default of >>72dpi arisen from? > > > Because the default "transformation matrix" in a PDF is 72 > USER UNITS to an inch, but that's not an actual "dots per inch" (dpi) > since vector and textual data have no "dots". > > When placing an image, unless you specify a transform, the > pixels in the image are assumed to be in user units (so there would > be 72 of them to an inch, which would be logically equivalent to > 72dpi). If you wish to adjust the relationship of pixels to user > units for this particular image, then you apply a transform when you > place the image. > > OK? > > > Leonard -- Peter B. West <http://cv.pbw.id.au/> Folio <http://defoe.sourceforge.net/folio/> Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions