This is a simple Java program for an image editor that allows various image manipulation operations. The program uses the Java AWT and ImageIO libraries to read, process, and save images. Users can choose from a menu of operations, including creating a grayscale image, changing brightness, inverting horizontally or vertically, applying mosaic and Gaussian blur, transposing, and rotating the image.
-
Clone the Repository:
git clone https://github.com/your-username/Image_Editor.git cd Image_Editor
-
Compile and Run:
javac Image_Editor.java java Image_Editor
Follow the on-screen instructions to perform various image editing operations.
-
Create a Greyscale Image:
-
Change Brightness:
-
Invert Image Horizontally:
-
Invert Image Vertically:
-
Mosaic Blur:
-
Gaussian Blur:
-
Transpose Image:
- Transposes the input image.
-
Rotate Image 90 Degrees Clockwise:
-
Rotate Image 90 Degrees Anticlockwise:
-
Print Pixel Values:
- Displays the RGB values of each pixel in the terminal.
-
Exit:
- Exits the image editor.
- The program prompts the user to enter the file name or path of the image to be edited.
- The resulting images after each operation are saved in the specified output paths.
- Ensure that you have the required permissions to read and write files in the specified directories.
- Rudra Kumar Chauhan
- Contact me - rudrachauhan2888@gmail.com
Feel free to enhance and modify the code to suit your requirements.