How can I cast or initialize ImageInputStream with InputStream?
this is what you are looking for :
ImageInputStream iis = ImageIO.createImageInputStream(is);
this is what you are looking for :
ImageInputStream iis = ImageIO.createImageInputStream(is);