### Question:
SimpleExample { public void watermark() throws IOException { System.out.println("==========为图片增加水印============"); String destFile = saveDir + "/water-small.jpg"; Thumbnails.of(imgFile) .scale(0.25f) .watermark(Positions.BOTTOM_RIGHT, ImageIO.read(new File(waterImgFile)), 0.5f) .outputQuality(0.8f) .toFile(destFile); printlnImageInfo(destFile); destFile = saveDir + "/water-big.jpg"; Thumbnails.of(imgFile) .scale(2.0f) .watermark(Positions.CENTER, ImageIO.read(new File(waterImgFile)), 0.5f) .outputQuality(0.8f) .toFile(destFile); printlnImageInfo(destFile); System.out.println("\r\n"); } SimpleExample(String saveDir); void reSize(); void scale(); void forceReSize(); void rotate(); void watermark(); void sourceRegion(); void outputFormat(); void listFilesChange(); static void printlnImageInfo(String imgFile);  }### Answer:
@Test public void watermark() throws IOException { simpleExample.watermark(); }