Report question

Question: How to convert BufferedImage to InputStream?