I have images (jpeg format), that are exactly A4 page sized. I want to create pdf document from images. I have tried with simple code:
WPPDFExport1.Filename := 'x:\export.pdf';
WPPDFExport1.BeginDoc;
Image1.Picture.LoadFromFile('x:\image.jpg');
WPPDFExport1.DrawTGraphic(0,0,0,0, Image1.picture.graphic);
WPPDFExport1.EndDoc;
PDF document is created (and size is about same as jpg file), but when I load pdf document in acrobat, it's blank. What am I doing wrong?
Thanks for help.
Regards
Matej Golob