daren-phi
Hi all,
I am writing a plugin to export the images to pdf. In the current wikipage, I set all the image with width=500 (pt), they looks pretty normal in the browser because the width of the wikipage is big enough so the size of the image (500) looks pretty good. But when export to PDF, the width of the pdf is different from that of the wikipage, but the image width is still 500, so it make everything looks too big in the PDF or even some part of images clipped outside. Is that anyway to figure out the ratio of the image width that I should rescale the images to fit the dimension of the export PDF, that is, says the PDF is of A4 size, how do I know what the right width of image I should use to give better look? Thanks.