简体   繁体   中英

File I/O Stream Vs (ImageIO.read OR ImageIO.write) method

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM