static BWImage autoCroppedBWImage(BWImage img) { ret img.clip(autoCropOfBWImage(img)); } static BWImage autoCroppedBWImage(BufferedImage img) { ret autoCroppedBWImage(new BWImage(img)); }