What is the difference and advantages between writing or reading a image from file I/O Stream Vs ImageIO.read
OR write function??
Is there certain operation in which we cannot write an image using ImageIO method??
You're comparing apples and oranges. A FileInputStream
gives you bytes, not an image. ImageIO.read()
gives you an image.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.