https://github.com/alttiri/crop-image-to-canvas
Crops an image to a canvas element
https://github.com/alttiri/crop-image-to-canvas
canvas crop crop-image cropper
Last synced: over 1 year ago
JSON representation
Crops an image to a canvas element
- Host: GitHub
- URL: https://github.com/alttiri/crop-image-to-canvas
- Owner: AlttiRi
- Created: 2021-07-14T10:27:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T15:40:39.000Z (about 5 years ago)
- Last Synced: 2025-01-26T15:47:37.238Z (over 1 year ago)
- Topics: canvas, crop, crop-image, cropper
- Language: JavaScript
- Homepage: https://alttiri.github.io/crop-image-to-canvas/
- Size: 412 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# crop-image-to-canvas
Simple image cropper.
Zoom by the wheel, move by the pointer.
Changes are instantly displayed on the canvas element.
The [demo](https://alttiri.github.io/crop-image-to-canvas/) is suited only for desktop browsers.
---
### Example
The `canvas` element is at the top, the original image is at the bottom: