Home > Mobile >  Android do a camera and then can achieve freedom control pictures area (not zoom in)
Android do a camera and then can achieve freedom control pictures area (not zoom in)

Time:09-19

Is when taking pictures can manually change the area to shoot, zoom in, he said is equal to the photo after finished by tailoring to achieve what you want pictures, but I want to take a picture of before they get to part, how to implement?

CodePudding user response:

And, is this set the focal length?

CodePudding user response:

Not set the focal length, mean that I don't want to take a picture of the size of a screen, I just want to take a small part

CodePudding user response:

The camera class, you can call to get the camera to the picture, cropping,

CodePudding user response:

refer to the second floor qq_33259750 response:
is not set the focal length, mean that I don't want to take a picture of the size of a screen, I just want to take a small part of

Make a mask layer, the user can adjust the size of the layer mask, you can record the mask and the relative position of the camera, such as pictures, again by cutting through the position of photos can!

CodePudding user response:

The original poster funny, camera does not turn, which area also please cut again after finishing

CodePudding user response:

Products have done before, just the code I also took over, can only tell you a way of thinking:
1. At least in the magnification & gt; 1 to move, gesture can be amplified and mobile,
2. The amplifier is in c/c + + layer, the camera data to c, according to the offset of magnification and mobile to cutting data, reduction for the image again, so can real-time display the movement of the image,

CodePudding user response:

There is nothing wrong with 3/f, save is made after the cut to DCIM
  • Related