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