static WidthAndHeight widthAndHeight(BufferedImage image) { ret image == null ?: widthAndHeight(image.getWidth(), image.getHeight()); } static WidthAndHeight widthAndHeight(int w, int h default w) { ret new WidthAndHeightFinal(w, h); }