Drag-n-crop is a web application for cropping images and videos.
It can handle various file formats and sizes, with images up to 100 MB and videos up to 1 GB.
| Frontend | Backend |
|---|---|
| Svelte | Rust |
| Typescript | Rocket |
| Flowbite | Firebase |
| CropperJS | FFMpeg |
| File type | Size | Format |
|---|---|---|
| image | 100MB | jpg, jpeg, png, gif, bmp, webp, svg |
| video | 1GB | mp4, mkv, flv, avi, mov, wmv, webm |
(Prerequisite) Run the backend locally.
(Prerequisite) Install yarn.
- Clone this repository
- Run
yarnin root folder - Run
yarn devin root folder - Navigate to http://localhost:5173.
- version 1.1 ( ??? )
- use CropperJS instead of JCrop
- upload from URL
- support for longer videos
- version 1.0 (Jul 18, 2023)
- upload file
- crop image
- crop video
- download result
- light / dark theme
