ResizeImage()

Syntax

ResizeImage(#Image, Width, Height [, Mode])
Description
Resize the #Image to the given dimension.

The optional 'Mode' parameter can be one of the following value:
  #PB_Image_Smooth: Resize the image with smoothing (default if 'Mode' isn't specified).
  #PB_Image_Raw   : Resize the image without any interpolation.
Note: This function changes the handle of the used image. Therefore it must be newly assigned e.g. to an ImageGadget() with SetGadgetState(). The image size is currently limited to 8192x8192 pixels (if the available memory allow it).

Supported OS

Windows, Linux, MacOS X

<- LoadImage() - Image Index - SaveImage() ->