How would I open a bitmap with Inputstream?
e.g InputStream inputStream = image where image is of type Bitmap?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To read the bitmap image in your app,
BufferedImage img = ImageIO.load("mybitmap.bmp");To get the pixels from the buffered image object, use
getRGB()javadoc for getRGB().
For more info, see this article.