static ImageSurface showZoomedImage(final RGBImage image) { ret showZoomedImage(image, 2); } static ImageSurface showZoomedImage(S title, RGBImage image) { ret showZoomedImage(title, image, 2); } static ImageSurface showZoomedImage(S title, RGBImage image, double zoom) { ret setFrameTitle(showZoomedImage(image, zoom), title); } static ImageSurface showZoomedImage(final RGBImage image, final double zoom) { ret (ImageSurface) swingAndWait(func { ImageSurface is = showImage(image); is.setZoom(zoom); packFrame(is); ret is; }); } ifclass BWImage static ImageSurface showZoomedImage(BWImage image) { ret showZoomedImage(image.getBufferedImage()); } endif