@Nullable public static BufferedImage cropBlank(@NotNull BufferedImage image,@Nullable Rectangle initialCrop){
  return cropBlank(image,initialCrop,image.getType());
}

@ Nullable public static BufferedImage cropBlank ( @ NotNull BufferedImage image , @ Nullable Rectangle initialCrop ) { return cropBlank ( image , initialCrop , image . getType ( ) ) ; }
crops blank pixels from the edges of the image and returns the cropped result . we crop off pixels that are blank ( meaning they have an alpha value = 0 ) . note that this is not the same as pixels that aren ' t opaque ( an alpha value other than 255 ) .
