How To Read Png Images Form Inputstream In Java
There are 2 applications. One application act as server and sends continuously screen shot of desktop by using the following code. Robot robot=new Robot(); OutputStream os; Buffer
Solution 1:
In client application, read the InputStream via Socket.getInputStream()
method.
BufferedInputStreamin=newBufferedInputStream(socket.getInputStream());
BufferedImageimage= ImageIO.read(in);
Post a Comment for "How To Read Png Images Form Inputstream In Java"