public class ImageReaders
extends java.lang.Object
ImageReader instances for given
image data.| Modifier and Type | Method and Description |
|---|---|
static javax.imageio.ImageReader |
findImageReader(java.nio.ByteBuffer imageData)
Tries to find an
ImageReader that is capable of reading
the given image data. |
public static javax.imageio.ImageReader findImageReader(java.nio.ByteBuffer imageData)
throws java.io.IOException
ImageReader that is capable of reading
the given image data. The returned image reader will be initialized
by passing an ImageInputStream that is created from the given data
to its setInput method. The caller is responsible for
disposing the returned image reader.imageData - The image datajava.io.IOException - If no matching image reader can be foundCopyright © 2022. All Rights Reserved.