https://github.com/davidthorn/dtimagecropper
A simple Cocoapods library that allows a user to select an image and then crop it to a certain size
https://github.com/davidthorn/dtimagecropper
Last synced: about 1 year ago
JSON representation
A simple Cocoapods library that allows a user to select an image and then crop it to a certain size
- Host: GitHub
- URL: https://github.com/davidthorn/dtimagecropper
- Owner: davidthorn
- Created: 2019-07-30T07:16:32.000Z (almost 7 years ago)
- Default Branch: development
- Last Pushed: 2019-07-31T16:50:24.000Z (almost 7 years ago)
- Last Synced: 2025-01-31T14:47:51.504Z (over 1 year ago)
- Language: Swift
- Size: 542 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DT Image Cropper
A simple Cocoapods library that allows a user to select an image and then crop it to a certain size
# Warning
This project is still under development and is by far not ready for use in an application.
# Done
1. The user can select an image from the photo libary
2. The user can move & resize the cropping box using the all corners and sides.
3. The user can drag the cropping box to any position within the bounds of the view.
4. The user can zoom and scroll to view the image - still restricted to some areas.
# TODO's
1. Validate if the device has access to the camera
4. Add the coords of the image to the overlay so that the overlay knows its max boundaries.
5. Add a toolbar that allows for the user to confirm area selection or to cancel out of the cropper.
6. Add a public interface that the calling controller can use to retrieve the cropped image.
7. The scrolling and zooming of the image requires some attention to make sure that it is perfect for the user.
8. Add podspec etc. Not required until completed.