Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference? #1

Closed
myinnos opened this issue Apr 4, 2017 · 2 comments
Closed

Difference? #1

myinnos opened this issue Apr 4, 2017 · 2 comments
Labels

Comments

@myinnos
Copy link

myinnos commented Apr 4, 2017

How it is difference from uCrop and What is the library size?

@polyak01
Copy link
Contributor

polyak01 commented Apr 9, 2017

Good day to you, @myinnos . That’s a good question!)

First of all, I’d like to point out that it is not entirely appropriate to compare these two libraries. uCrop is definitely one of the best libraries to crop images. I know some of its’ developers personally and I value their efforts. Also, if you go through the likes given to our library you will find some likes from uCrop contributors.

uCrop is developed as a box solution, i.e. it is integrated in a project like Activity. Of course, there is customization, but it is not as flexible , or you will have to take a deeper look at the source code by yourself. If you are OK with it and you don’t want to customize everything then it is a great solution.

CropIwa is developed to be a more flexible library. You can add or delete all features nice and easy. There is long readme specially for this. Without any difficulties you can build a unique UI just with a few features. Just like here

Let’s see what actually is in the library.

  • First of all, you can crop images into forms. It enables to crop not only in the regular square but in an oval form as well. And if it is not enough for you, then you can also create custom crop area shapes(
    a triangle, for instance, and crop in it =) As far as your imagination takes you.). Just extend CropIwaShape (for an example refer to CropIwaOvalShape) and set an instance of you class using:
cropView.configureOverlay()
  .setCropShape(new MyAwesomeShape())
  .apply();
  • If you watch the gif file from readme till the end you can see that it is possible to crop with multi touch in Dynamic Overlay mode :)

  • You can easily turn on and turn off Scale and translation
    Screenshot 2

  • You can change the image quality. PNG, JPEG, WEBP formats are available. And if you want your crop to be the same style that your app is, you can make a flexible setting of Border, Corner, Overlay, Grid colors. Also you can switch off Grid rendering or make it Dashed, just like at this screenshot

For further information go through README and download sample))) We will appreciate your suggestions and contribution to our project.

@myinnos
Copy link
Author

myinnos commented Apr 10, 2017

Great! I will give a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants