I am developing an image cleaning application. I get the url
URL imageUrl = new URL(imageSource);
Then I create an InputStream with this URL:
InputStream is = new URL(imageUrl.toString()).openStream();
After that, I want to create an ImageInputStream to define ImageIO readers.
ImageInputStream iis = ??????
But I could not initialize this. Can I implement a URL or InputStream for ImageInputStream?
source share