What\'s the easiest way to auto crop the white border out of an image in java? Thanks in advance...
img is original image source BufferedImage subImg = img.getSubimage(0, 0, img.getWidth() - 1, img.getHeight() - 1);