Reputation: 4705
Yes, I'm that stupid. I'm trying to stick some groovy code together from various cookbook recipes, and I can't get from an InputStream to BufferedImage in Java/Groovy. Google is not being my friend at present.
Upvotes: 31
Views: 43450
Reputation: 1020
BufferedImage imBuff = ImageIO.read(object.getInputStream());
Should work...
Upvotes: 92