Skip to content

Rudrakc/Image_Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Editor

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.

Usage

  1. Clone the Repository:

    git clone https://github.com/your-username/Image_Editor.git
    cd Image_Editor
  2. Compile and Run:

    javac Image_Editor.java
    java Image_Editor

    Follow the on-screen instructions to perform various image editing operations.

Features

  1. Create a Greyscale Image:

    • Converts the input image to greyscale and saves the result.

      Greyscale Image
  2. Change Brightness:

    • Adjusts the brightness of the image based on user input.

      changedBrightnessImage
  3. Invert Image Horizontally:

    • Produces an inverted version of the input image horizontally.

      invertHorintallyImage
  4. Invert Image Vertically:

    • Produces an inverted version of the input image vertically.

      invertVerticallyImage
  5. Mosaic Blur:

    • Applies a mosaic blur effect to the image based on user-defined strength.

      bluredImage
  6. Gaussian Blur:

    • Applies a Gaussian blur effect to the image based on user-defined strength.

      gaussianBlur
  7. Transpose Image:

    • Transposes the input image.
  8. Rotate Image 90 Degrees Clockwise:

    • Rotates the image 90 degrees clockwise.

      clockwise90
  9. Rotate Image 90 Degrees Anticlockwise:

    • Rotates the image 90 degrees anticlockwise.

      anticlock90
  10. Print Pixel Values:

    • Displays the RGB values of each pixel in the terminal.
  11. Exit:

    • Exits the image editor.

File Paths

  • 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.

Note

  • Ensure that you have the required permissions to read and write files in the specified directories.

Author

Feel free to enhance and modify the code to suit your requirements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages