static Rect imageBounds(BufferedImage img) { ret imgRect(img); } static Rect imageBounds(WidthAndHeight img) { ret imgRect(img); }