Let users crop and resize their profile photo before uploading it to your web app.
Build an image editing tool that lets users drag to select a specific rectangular region from any photo.
Add image cropping to a React, Vue, Angular, or Blazor app by installing one of the ready-made framework wrapper packages.
Version 2 is the current branch, if you need version 1 features switch to the v1 branch explicitly before installing.
Cropper.js is a JavaScript tool for cropping images, written in TypeScript. Cropping means letting a user select a region of a picture and cut it down to that area, the kind of feature you see when a website asks you to adjust your profile photo before uploading it. The project's one-line description is simply "JavaScript image cropper," and the README points to a website with a live demo. The README itself is sparse. It does not include installation steps or code examples on this page. Instead, most of what it offers is project information and links. It notes that this is the branch for version 2, and that anyone needing the older version 1 should switch to a separate v1 branch. The live website is the main place to actually see and learn how the tool works. A few housekeeping items are spelled out. The project follows Semantic Versioning, a common convention for numbering releases so that users can tell how big a change is. Its commit messages follow the Conventional Commits style, which is a standard format for describing changes in the project's history. The license is MIT, a permissive open source license, credited to the author Chen Fengyuan. The final part of the README lists related projects maintained by other people. These are wrappers that make Cropper.js easier to use inside specific web frameworks, such as Angular, React, Vue, Ember, and Blazor, plus a couple of other integrations. They are not separate croppers but adapters around this same core tool, so a developer working in one of those frameworks can pick the matching wrapper. In plain terms, this repository is the core engine for adding image cropping to a web page, and the README acts mostly as a directory: it confirms what the project is, which version branch you are on, how it is versioned and licensed, and where to find both the documentation website and the framework-specific helpers built on top of it.
← fengyuanchen on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.