I'm having trouble getting a white background.
image1_ID=gdpic.CreateImageFromFile('c:\test.tif') This is a standard 8.5x11 image.
height=gdpic.GetImageHeight
width=gdpic.GetImageWidth
image2_ID=gdpic.CreateNewImage(width,height,32,16777215) This should give white background.
Now I want to draw part of image1 into image2:
gdpic.DrawImageRectangle(image1_ID,0,0,width,height-500,0,0,width,height-500)
When I print using PrintImageDialog I get a black background and it is not scaled properly.
What am I doing wrong?
Thanks,
Heard
