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

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