iOS Question Move and zoom image

Alberto SN

Member
Licensed User
Hi!

I have one panel with an image taken from camera.
I have too three images.
When I touch one of three images, I insert this on the panel.
I need to move and zoom with 2 fingers.

The idea is to take a picture and put beard on it, can enlarge or reduce the beard, and to move on the panel.

Thanks so much.
 

Alberto SN

Member
Licensed User
Thanks jon, but not work for me.

When I touch image, it is inserted on panel, but the image can move up and down and not response to zoom with 2-fingers.

I will treat apply this library with more time.

Thanks so much.
 
Upvote 0

narek adonts

Well-Known Member
Licensed User
Longtime User
I think you need this

1. clsImageResizer is a class.
2. GestureRecognizer is a class
3. OBJC is a module.

add those 3 files to your project and add clsImageRegizer to a view with clsImageRiszer.AsView . Load an image with clsImageResizer.Bitmap
 

Attachments

  • clsImageResizer.bas
    18.8 KB · Views: 197
  • GestureRecognizer.bas
    12 KB · Views: 177
  • OBJC.bas
    4.4 KB · Views: 183
Upvote 0
Top