@Test
public void testTrim() throws Exception {

	BufferedImage image = ImageIO.read(getClass().getResource("hifive_logo.png"));
	BufferedImage expected = ImageIO.read(getClass().getResource("ImageUtilsTest_trim.png"));
	BufferedImage actual = ImageUtils.trim(image, 2, 2, 2, 2);
	assertThat(ImageUtils.imageEquals(expected, actual), is(true));
}