use of com.sun.imageio.plugins.common.SubImageInputStream in project jdk8u_jdk by JetBrains.
the class PNGImageReader method nextElement.
public InputStream nextElement() {
try {
firstTime = false;
ImageInputStream iis = new SubImageInputStream(stream, length);
return new InputStreamAdapter(iis);
} catch (IOException e) {
return null;
}
}
Aggregations