B
Bilbo Baggins
Hi all.
I've an array of bytes.
ImageIcon imageIcon = new ImageIcon(byteArray);
I've to do an image resize (i.e. 100x100)
Image image = imageIcon.getImage();
Image newImage = image.getScaledInstance(100, 100,
Image.SCALE_DEFAULT);
Now I need to get an array of bytes about the new image.
How can I do it?
Thanks in advance for your support.
I've an array of bytes.
ImageIcon imageIcon = new ImageIcon(byteArray);
I've to do an image resize (i.e. 100x100)
Image image = imageIcon.getImage();
Image newImage = image.getScaledInstance(100, 100,
Image.SCALE_DEFAULT);
Now I need to get an array of bytes about the new image.
How can I do it?
Thanks in advance for your support.