PDA

View Full Version : QPrinter and images in a pdf



qwertyone
19th April 2009, 08:50
Hello,

I dont know the PDF format, but i wonder if its possible to embed a image with its original image size into a PDF file, but to show it bigger or smaller.

I used QPrinter/QPainter to create a PDF file that contains a image and has some border, but I have to scale the image first before I can draw it.

My question is, if is possible to embed an image with its original size into the pdf and make it appear bigger or smaller, can I do this with Qt ?

The reason for that is, that I want to print large images with some markings and borders and I want do let the printer do the image scaling.

Any advice will be greatly appreciated.

qwertyone
19th April 2009, 10:39
I could solve the Problem now, QSvgRenderer did the trick.