resize

fun resize(newWidth: Int, newHeight: Int): RgbImage

Bilinear resize using half-pixel centres (the same convention as OpenCV INTER_LINEAR, no antialiasing).