Hi everybody,
I need to save images of various dimensions in the size of the PDA display, 320 * 240. To this end I have written a program with does the following:
Create an image control at display size
Load into that control the original picture file
With dzImage Capture the screen 0,0,320,240
Save the screen with SaveImageBMP
The program runs well, but
1) on the PC a picture file is created with a size of 301KB where as 260 KB is expected. The Windows Explorer reports an image of 320 * 240, but displaying the image shows the original picture with at the bottom an extra bar of say 40 lines.
2) On the PDA only the left top of the original image is put in the new file; the file size is correct. Apparently not the screen is captured, but only a part of the underlaying image file.
Attached is a small program which demonstrates my problem.
Am I or is the dzImage library doing something wrong ?
Harry
I need to save images of various dimensions in the size of the PDA display, 320 * 240. To this end I have written a program with does the following:
Create an image control at display size
Load into that control the original picture file
With dzImage Capture the screen 0,0,320,240
Save the screen with SaveImageBMP
The program runs well, but
1) on the PC a picture file is created with a size of 301KB where as 260 KB is expected. The Windows Explorer reports an image of 320 * 240, but displaying the image shows the original picture with at the bottom an extra bar of say 40 lines.
2) On the PDA only the left top of the original image is put in the new file; the file size is correct. Apparently not the screen is captured, but only a part of the underlaying image file.
Attached is a small program which demonstrates my problem.
Am I or is the dzImage library doing something wrong ?
Harry