code: public static byte[] resize(final BufferedImage originalImage, final String formatName,
  		final int targetWidth, final int targetHeight)
  	{
  		return resize(originalImage, Scalr.Method.QUALITY, Scalr.Mode.FIT_EXACT, formatName,
  			targetWidth, targetHeight);
  	}
docs: Resize the given BufferedImage.
  
  @param originalImage
  the original image
  @param formatName
  the format name
  @param targetWidth
  the target width
  @param targetHeight
  the target height
  @return the byte[]