Hi,
I have a small
applet in that am viewing a image using
URL url = new URL(getCodeBase(), "sample.jpg");
BufferedImage image = ImageIO.read(url);
After that am writing a new image using
URL url1 = new URL(getCodeBase(), "new.jpg");
ImageOutputStream ios = ImageIO.createImageOutputStream(url1);
ImageIO.write(image, type, ios);
But it's not working. Please assist me how to write image from Applet