Function Image.crop
Crops the image to the given width
and height
. If the specified size is larger than the current size, the extra area is filled with black pixels.
void crop
(
const(long) width,
const(long) height
) nothrow @nogc;