imProcessResize

Change the image size using the given interpolation order. \n * Supported interpolation orders: * \li 0 - zero order (near neighborhood) [default in Lua for MAP and BINARY] * \li 1 - first order (bilinear interpolation) [default in Lua] * \li 3 - third order (bicubic interpolation) * Images must be of the same type. If image type is IM_MAP or IM_BINARY, must use order=0. \n * Returns zero if the counter aborted. * * \verbatim im.ProcessResize(src_image: imImage, dst_image: imImage, order: number) -> counter: boolean [in Lua 5] \endverbatim * \verbatim im.ProcessResizeNew(image: imImage, width, height[, order]: number) -> counter: boolean, new_image: imImage [in Lua 5] \endverbatim * \ingroup resize

extern (C) @safe nothrow
int
imProcessResize

Meta