I've written a program that loads a .pgm file, processes it through a median filter, and displays it via GUI.
I'm trying to write a saveImage() method that will save the file with a "_processed" tag to the end of the original image name. The original and processed images each have their pixels in a 2-dimensional array.
Can anybody direct me to a class and method to use to write this .pgm file to the same directory?
Thanks a ton.