### Question:
SimpleExample { public void sourceRegion() throws IOException { System.out.println("========== 对图片进行裁剪============"); String destFile = saveDir + "/sourceRegion-center.jpg"; Thumbnails.of(imgFile) .sourceRegion(Positions.CENTER, 100,100) .size(200, 200) .keepAspectRatio(false) .toFile(destFile); printlnImageInfo(destFile); destFile = saveDir + "/sourceRegion-right.jpg"; Thumbnails.of(imgFile) .sourceRegion(Positions.BOTTOM_RIGHT, 100,100) .size(200, 200) .keepAspectRatio(false) .toFile(destFile); printlnImageInfo(destFile); destFile = saveDir + "/sourceRegion-custom.jpg"; Thumbnails.of(imgFile) .sourceRegion(200, 300, 100, 100) .size(200, 200) .keepAspectRatio(false) .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 sourceRegion() throws IOException { simpleExample.sourceRegion(); }