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