/** Reads a PNG from a stream. * @param is the stream * @throws IOException on error * @return the image */ public static Image GetImage(Stream isp) { PngImage png = new PngImage(isp); return(png.GetImage()); }
/** Reads a PNG from a stream. * @param is the stream * @throws IOException on error * @return the image */ public static Image GetImage(Stream isp) { PngImage png = new PngImage(isp); return png.GetImage(); }