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.

struct Image
@nogc nothrow
void
crop
(
in long width
,
in long height
)

Meta