I want to crop the selected portion of the image that user has selected. I would like to implement like in the following image
By moving the button/image(green bordered box) , the user can select the portion he wants. Can any one please tell me how to do this or please provide me the sample code if you have any.
Any help will be appreciated.
Check out BJImageCropper. This also have an example.
Related
I have got an image 300px300px, but i only want to show 100x100 of it, just like here https://www.pinterest.com/pin/31103053652400980/ background photo is only showing part of it.How can i do that?
You can use UIImageView that has property Clip To Bounds on. After that you can change Content Mode of the `UIImageView' that suits you.
Example:
I want to mask some area (Blue and Red) in an image, I tried different methods but I couldn't get the solution that I want.
Here's the image I am using:
Here's the result that I want:
Please explain the code because I really want to learn how it works and implement it in my own understanding.
Any helps ? Thanks
I am looking for same animation like given in image, had try a lot but could not find that how to curl one side portion of UIView. Thanks in advance..
finally done that animation with help of MPFlipVIew here is like if anybody want same : https://github.com/mpospese/MPFlipViewController
I am working on module where I need to perform following activities.
Select image from Library.
Show that image.
Zoom that image.
Save the Zoomed portion or visible portion on the view.so that final image will get saved with zoomed.
I have covered 1,2,3 and struggling with 4
Does anyone have idea about this?
Thanks,
Sagar
If I understand you correctly, you want to save image that appears on the screen after zooming? To do that you can use CGImageCreateWithImageInRect function.
alt text http://www.imagechicken.com/uploads/tn1270646423002339600.png
I want to draw like that.
How do I draw like that? Do I use Quartz-core?
please advice for me.
If you already have the image, then set it as the background will solve your issue. Don't need to use Quartzcore, you can create a text field, or a label or a button with the background as your image. And you are all set!