Closed edrobal closed 1 year ago
Strangely, the problem arises with an InputStream parameter, not with a file name.
If I use : controller.openDocument(new ByteArrayInputStream(data), description, null) pdf is read but without the logo. If I use : controller.openDocument(data, 0, data.length, description, null) I got an error message.
Do you have a sample file I can take a look at? A few other that have request JDK 8 support, I will look at it again even know I really don't want to.
test bug.pdf I must open with : Files.readAllBytes(new File("./test bug.pdf").toPath()), "test bug.pdf") to have the bug. The pdf to view are not stored in file but in a database.
The missing issue is related to masking issue. I've made a change that doesn't seem to have any side effects. Still thinking about Java8...
It'ok and with java 8 !!!
After building icepdf with java 8, I start my test. I open a pdf with a QR-bill. The Qr code is displayed but not the logo. No error displayed. Is it a library missing ? But why no error ? Regards.