An open API service indexing awesome lists of open source software.

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

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.