Developed in java 21.0.11
PLEASE READ FULL INSTRUCTIONS BEFORE USING
Save the program file to a folder in your computer, then navigate to that folder and compile using command line (I am not sure yet if this works in any IDEs, later on I will try it and make another version if this code to accomodate IDEs if this program does not work on any).
When you run the code, add two command arguments: the name of the image file you want to edit (.jpg or .png are both acceptable) and the name of the image file you wish to create using these edits or output your edits to. Both image file names must include the extension on the end. Also, avoid using different image types between the input and output files (I do not think it will cause any real problems but just to be safe, keep the extensions the same)
- The image you wish to make edits on MUST be in the same folder with the program, otherwise the
- program may crash
Then you will be prompted to choose an effect that you would like to make to your input image file, these include: "monochromatic", "invert", "static", "randomize", and "fun" for now, any other inputs will not be accepted (spelling DOES matter but casing does not). The image that has the edits on it will be saved to the same folder that your input image file is being kept in under the name you provided as the second command argument.