WinXDraw_ResizeImage


hImage2 = WinXDraw_ResizeImage (hImage, w, h)

Resizes an image

Parameter Description
hImage The handle to the image to resize
w The new width for the image
h The new height for the image

Returns

The handle to the resized image

Remarks

This function generates a resized copy of the original. The original image is not modified in any way. It is important if you need to resize an image to several resolutions that you start from the original each time or you will loose quality.

Examples

'make an image very small, icon size in fact
hImage2 = WinXDraw_ResizeImage (hImage, 48, 48)

Related Links

Images
WinXDrawImage
WinXDraw_LoadImage
WinXDraw_SaveImage
WinXDraw_GetImageInfo