PDA

View Full Version : save imagesize with controlsize



Unregistered
July 16, 2003, 20:00:54
How can i save image same size with control size ?
i'm not good english.

i'm setting control W:100 H:100
when i save image, image width size is larger than Height size.
i wanna save image only shown as control's view

Johannes Vogel
July 17, 2003, 11:18:50
Hello,

The width and height of the saved image is dependent on the width and height of the image buffer. The width and height of the image buffer is identical to the width and height of the video format. The width and height of the display may be scaled. If you want to save an image with the width and height of a scaled display, you have to write code that scales the contets of the image buffer and saves this to disk. There is no built-in functionality in IC that does this because the size of the display is independend from the image buffer.

Best reards
Johannes
IC Support