code: @Override
  	public synchronized ByteBuffer getImageBytes() {
  		final BufferedImage bi = getImage();
  		if (bi == null) {
  			return null;
  		}
  		return ByteBuffer.wrap(ImageUtils.imageToBytes(bi));
  	}
docs: Return image RGB data in form of {@link ByteBuffer}. Please note that {@link ByteBuffer}
  returned by this method does not contain original JPEG data bytes, but bytes representing RGB
  data of the image constructed from JPEG data.