resize

internal fun BufferedImage.resize(width: Int, height: Int, resultImageType: Int = BufferedImage.TYPE_INT_ARGB, interpolation: Any = RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR, renderingQuality: Any = RenderingHints.VALUE_RENDER_QUALITY, antialiasing: Any = RenderingHints.VALUE_ANTIALIAS_ON, observer: ImageObserver? = null): BufferedImage