public void trimAndWrite(BufferedImage image) throws IOException {
   write(image, ImageCropper.findNonTransparentBounds(image));
 }