code: public BufferedImage toBufferedImage(BufferedImage bimg, TransferFunction transferFunc){
  		return toImg(transferFunc).toBufferedImage(bimg);
  	}
docs: Copies this image's data to the specified {@link BufferedImage}.
  This method will preserve the {@link Raster} of the specified
  BufferedImage and will only modify the contents of it.
  <p>
  The specified {@link TransferFunction} is used to map this
  image's channel values to 8bit per channel ARGB values.
  
  @param bimg the BufferedImage
  @param transferFunc to transform a pixel value to the required 8bit per channel ARGB value
  @return the specified BufferedImage
  @throws IllegalArgumentException if the provided BufferedImage
  has a different dimension as this image.