Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.38 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.38 KB

Quick ImageEditor Using Swing

This is a simple image editor application built using Java Swing that allows users to perform basic image editing operations such as cutting, undoing, and redoing edits.

Features

  • Select a rectangular region in the image.
  • Cut the selected region and save it for undo/redo.
  • Undo and redo edits.
  • Display the selected region with a selection rectangle.

How to Run

  1. Clone or download this repository to your local machine.
  2. Open the project in your favorite Java development environment.
  3. Place your image in the directory and specify the file path within the 'Launcher' file.
  4. Build and run the Launcher class.

Usage

  1. Launch the application.
  2. The loaded image will be displayed in the main window.
  3. Use the mouse to drag and select a rectangular region on the image.
  4. The "Cut" button will be enabled when a valid selection is made.
  5. Click the "Cut" button to cut the selected region.
  6. Use the "Undo" and "Redo" buttons to undo and redo edits.
  7. The selected region will be displayed with a selection rectangle.
  8. Close the application window to exit the application.

Dependencies

  • Java SE Development Kit (JDK) 8 or higher.

Known Issues

  • [Nothing for now]

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please feel free to open an issue or submit a pull request.