Package com.sksamuel.scrimage.nio
Interface ImageReader
-
- All Known Implementing Classes:
ImageIOReader
,OpenGifReader
,PngReader
public interface ImageReader
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ImmutableImage
read(byte[] bytes)
default ImmutableImage
read(byte[] bytes, java.awt.Rectangle rectangle)
-
-
-
Method Detail
-
read
default ImmutableImage read(byte[] bytes) throws java.io.IOException
- Throws:
java.io.IOException
-
read
default ImmutableImage read(byte[] bytes, java.awt.Rectangle rectangle) throws java.io.IOException
- Throws:
java.io.IOException
-
-