void updateCanvas(ImageSurface canvas, O makeImg) { is.setImage(asBufferedImage(callF(f, is.getWidth(), is.getHeight()))); }