Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try
- {
- ImageIO.write(imageReaded, saveType, outPath);
- isCorrectExtension = true;
- }
- catch (IOException e)
- {
- JOptionPane.showMessageDialog(this,
- "Write error for " + outPath.getName() + ": " + e.getMessage(), "Unable to save file",OptionPane.ERROR_MESSAGE);
- }
Advertisement
Add Comment
Please, Sign In to add comment