diff --git a/pom.xml b/pom.xml index a27b896..b0838aa 100644 --- a/pom.xml +++ b/pom.xml @@ -81,7 +81,7 @@ ${project.artifactId} - 2023.08 + 2023.12 jdeli diff --git a/src/main/java/com/idrsolutions/JDeliImageReader.java b/src/main/java/com/idrsolutions/JDeliImageReader.java index 09a6088..0aa43f3 100644 --- a/src/main/java/com/idrsolutions/JDeliImageReader.java +++ b/src/main/java/com/idrsolutions/JDeliImageReader.java @@ -251,6 +251,11 @@ public BufferedImage read(final int imageIndex, final ImageReadParam param) thro return image; } + @Override + public boolean canReadRaster() { + return true; + } + private void getByteArray() { if (bytes == null) { try { diff --git a/src/main/java/com/idrsolutions/JDeliImageWriter.java b/src/main/java/com/idrsolutions/JDeliImageWriter.java index e25b6c1..286ed23 100644 --- a/src/main/java/com/idrsolutions/JDeliImageWriter.java +++ b/src/main/java/com/idrsolutions/JDeliImageWriter.java @@ -46,6 +46,11 @@ public void setOutput(final Object output) { } } + @Override + public boolean canWriteRasters() { + return true; + } + @Override public IIOMetadata getDefaultStreamMetadata(final ImageWriteParam param) { throw new UnsupportedOperationException("Not supported yet.");