I dont get any errors, but no drawings either while using draw functions when making PDF from image (PdfDrawImage) or adding watermark to JPG (DrawText).
PDF comes out correct sized (pagesize = original image size), 600kb (like the original JPG) but empty.
JPG comes out the same as input, no watermark, no changes.
Delphi JPG code:
- Code: Select all
oGdPicture.LoadFromFile(URL);
oGdPicture.DrawText('Watermark', 10, 10, 10, 0, clRed);
oGdPicture.SaveAsJpeg (URL+'_.jpg');
oGdPicture.CloseNativeImage;
What can it be? do i do something wrong?
Slava
