Example #1
0
        /** 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());
        }
Example #2
0
 /** 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();
 }