-
-
Notifications
You must be signed in to change notification settings - Fork 196
Description
Platforms
Linux, macOS, Windows, iOS, Android, Web
Description
Currently, the image editor supports basic transformations like rotate and flip, which are great for general-purpose editing. However, it lacks skewing (perspective correction or freeform transform), which is essential for tasks such as straightening a document photo or aligning text blocks during document scanning.
I’m requesting the addition of skewing as a supported transformation. This would allow users to adjust corner points of an image to correct perspective distortion — a common need in document editing, scanning, and similar workflows.
Reference:
The croppy package offers a good example of how skewing can be implemented and integrated smoothly. Their iOS demo (accessible in the web demo) showcases an intuitive UI for adjusting skew via corner handles.
Summary:
Adding skewing would make the image editor significantly more useful, especially for apps focused on documents and scanning. It would eliminate the need for an additional dependency, and provide a more complete and user-friendly experience in a single package.
Why
- Skewing is a common requirement for document scanning apps where photos of documents are taken at an angle.
- It significantly improves the quality and legibility of scanned documents by allowing users to correct distortions.
- While other packages like croppy already support this (see iOS demo), I would prefer not to introduce a second image editor dependency into my project just to gain this one feature.
- Consolidating features into one editor would reduce maintenance, complexity, and app size.