- Where Developers Learn, Share, & Build Careers


I want to crop the image when touching the screen and creating the user a special size.

For example, when the user touches a shape (green color) and drawings that will be cut image in the shape and the went down image will appear as a new Uaimej :

Enter image details here

I know that How to conceal an image and also know how to cut an image in rectangular shapes but do not know about it. Can anyone help?

Try to do something like this, this is not the right question, but for a little change this algorithm Should work for you!

This does not give the exact code for any platform, but mathematical geometry and general looping algorithm how to accomplish such a task.

Within iOS you will need to create new image creation (and actually pixel transcript) using core graphics.

Things you'll do to see. Screen resolution for actual image resolution If image resolution is different, when you calculate the calculation of crop area, the crop zone can increase or shrink when the actual backing image is displayed from the screen.


Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -