An intuitive web application for cutting and exporting specific regions from images. Load multiple images, define custom cuts, and download them individually or collectively as a ZIP file.
- Multiple Image Support: Load and manage multiple images simultaneously.
- Custom Cuts: Define and adjust cut regions with ease.
- Image Navigator: Quickly navigate between images and view cuts.
- Zoom and Pan: Zoom in/out and pan around images for precise cutting.
- Download Options:
- Download individual cuts.
- Download all cuts as a single ZIP file.
- Dark Mode: Toggle between light and dark themes.
- Responsive UI: A clean and intuitive interface that adapts to different screen sizes.
- Keyboard Shortcuts: Improve efficiency with handy shortcuts.
Check out the live demo here
[] test project in major browsers:
[] Chrome,
[] Firefox,
[] Safari,
[] Edge,
[] Opera.
[] verify it works on tablet screens.
[] mobile device support.
[] test most used file formats.
[] support saving in different formats.
[] graceful error handling.
[] nice issue raising for non technical users.
[] also a nice feedback & feature suggestion something tool.
[] better accessibility - more keyboard shortcuts, better contrasts.
[] performance optimisation.
[] downloadable PWA!
- Node.js: Ensure you have Node.js installed. You can download it here.
-
Clone the Repository
git clone https://github.com/Gregorein/CropClip.git cd CropClip
-
Install Dependencies
npm install
Or if you use Yarn:
yarn install
-
Running the App
Start the development server:npm start
Or with Yarn:
yarn start
Open your browser and navigate to http://localhost:3000 to view the app.
-
Loading Images
- Click the Load Images button on the toolbar, or drag and drop images onto the app.
- Supported formats: JPEG, PNG, GIF, and other common image formats.
-
Adding Cuts
- Click the Add Cut button (Scissors icon) or press the Spacebar.
- A resizable and movable cut rectangle will appear on the image.
- Adjust the size and position by dragging the edges or the entire rectangle.
-
Navigating Images
- Use the Previous and Next arrows in the Image Navigator to switch between images.
- Click on an image name in the list to select it.
- Images with cuts will display a badge indicating the number of cuts.
-
Zoom and Pan
- Zoom In and Zoom Out using the magnifying glass icons.
- Reset Zoom to return to the default zoom level.
- Fit to Window adjusts the image to fit the viewport.
- Pan by clicking and dragging on the image.
-
Downloading Cuts
- Download Individual Cuts:
- Click the Download button (Image with down arrow) in the Image Navigator.
- Download All Cuts:
- Click the Download All button (Down arrow icon) in the Image Navigator.
- All cuts will be downloaded as a single ZIP file.
- Download Individual Cuts:
-
Dark Mode
- Open the About modal by clicking the Info icon.
- Toggle Dark Mode using the switch.
- Your theme preference will be saved for future visits.
- Spacebar: Add a new cut to the active image.
- Arrow Left: Navigate to the previous image.
- Arrow Right: Navigate to the next image.
Contributions are welcome! Please follow these steps:
-
Fork the Repository Click the Fork button at the top right of the repository page.
-
Create a Branch
git checkout -b feature/YourFeatureName
-
Commit Your Changes
git commit -m 'Add some feature'
-
Push to the Branch
git push origin feature/YourFeatureName
-
Open a Pull Request
Submit your pull request, and we'll review it as soon as possible.
This project is licensed under the MIT License.
If you find this project helpful, please consider supporting me on Patreon.
- Twitter: @Gregorein
- Email: hello@gregore.in
- GitHub: Gregorein