code: public void saveAsJPEG(File file, int width, int height) throws IOException, TranscoderException {
      saveAsJPEG(file, width, height, DEFAULT_QUALITY);
    }
docs: Transcode file to JPEG.
  
  @param file Output filename
  @param width Width
  @param height Height
  @throws IOException On write errors
  @throws TranscoderException On input/parsing errors.