Function Image.resize
Resizes the image to the given width
and height
. New pixels are calculated using interpolation
. See interpolation
constants.
void resize
(
const(long) width,
const(long) height,
const(long) interpolation = 1L
) nothrow @nogc;