does anyone know how to save a file image with previously show a dialog to choose where the location is and input a name of the file?
thanks for your response, appreciate it
does anyone know how to save a file image with previously show a dialog to choose where the location is and input a name of the file?
thanks for your response, appreciate it
thanks bro, but the next problem appears, i dont know how to save the image with input name and the jpg extension
i tried
try {
BufferedImage bi = getMyImage(); // retrieve image
File outputfile = new File(jFileChooser1.getSelectedFile().getName());
ImageIO.write(bi, "jpg", outputfile);
but not working,
thanks
In what way does it not work? It will be hard to debug unless you specify the actual output.