docs: private static BufferedImage checkInputs(ImageBase src, BufferedImage dst) {
  		if (dst != null) {
  			if (dst.getWidth() != src.getWidth() || dst.getHeight() != src.getHeight()) {
  				throw new IllegalArgumentException("image dimension are different. src="
  						+src.width+"x"+src.height+"  dst="+dst.getWidth()+"x"+dst.getHeight());
  			}
  		} else {
  			dst = new BufferedImage(src.getWidth(), src.getHeight(), BufferedImage.TYPE_INT_RGB);
  		}
  		return dst;
  	}