Pierce Tyler wrote: > > I think we may have hit a roadblock. If our understanding is correct, we > cannot resize .PNG files so they appear sized correctly in the .PDF > output. Can you confirm this? Or suggest a possible remedy? > > .PNG is our default image format for all our docs. >
We do that all the time for our own .PNG graphics without any problem[*]. Please open in XMLmind XML Editor xxe_install_dir/demo/docbook-image.xml and read its contents. This file is more or less a tutorial about how to resize images in a DocBook document. After doing that, please convert docbook-image.xml to PDF and you'll see that what you have done in DocBook is reflected in the PDF. Note that the techniques explained in docbook-image.xml also apply to XHTML, DITA, etc, that is, to any document type where there is an image element having dimension, scale, orientation, etc, attributes. --- [*] We always remove the resolution information from our .PNG images (using Photoshop, GIMP, whatever) because this resolution information is almost always wrong. However the resolution information is never used when you explicitly specify the dimension of the image in the DocBook document (e.g. contentwidth=3in, contentdepth=2in).

