Slove!!! how to convert BufferedImage Object to byte[]
Hi All,
I need to convert BufferedImage Object o byte[] variable
BufferedImage bi=new BufferedImage(image.getWidth(null),image.getHeight(null),BufferedImage.TYPE_INT_RGB);
Graphics2D imageGraphics=bi.createGraphics();
imageGraphics.drawImage(image,0,0,null);
BufferedImageOp op=new AffineTransformOp(AffineTransform.getScaleInstance(scalex_width,scalex_height),null);
bi=op.filter(bi,null);
This bi object is need to convert into byte[] output;
ouput=...........
Thanks
Sunil

