@Test
public void testPng() throws TaskIOException, IOException {

    PDImageXObject result = PageImageWriter.toPDXImageObject(customNonPdfInput("image/draft.png"));
    assertThat(result.getColorSpace(), is(PDDeviceRGB.INSTANCE));
    assertThat(result.getHeight(), is(103));
    assertThat(result.getWidth(), is(248));
}