Picture zooming method, storage medium and terminal device
A technology for image zooming and terminal equipment, which is applied in the direction of instruments, electrical digital data processing, and input/output process of data processing, etc. It can solve the problems of sensitivity drop, zoom operation failure, and inconvenient operation, so as to simplify operation and improve control efficiency effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Please refer to figure 1 , figure 1 It is a flow chart of Embodiment 1 of the image scaling method provided by the present invention. The execution subject of this embodiment is a user equipment, and the user equipment may be implemented by any software and / or hardware. Specifically, the user equipment may be a mobile phone, a video camera, a camera, a computer, etc., and other user equipment capable of image processing may also serve as an execution subject of this embodiment. As for the specific implementation manner of the user equipment in this embodiment, this embodiment will not repeat it here. The methods include:
[0045] S101. Receive a touch operation on an image to be zoomed, and acquire a touch area corresponding to the touch operation;
[0046] S102. Perform zoom processing on the image to be zoomed according to the touch area.
[0047] Specifically, the picture may be a picture downloaded by the user from the Internet, or may be obtained by the user t...
Embodiment 2
[0071] This embodiment provides a picture scaling method, such as figure 2 shown, which includes:
[0072] S201. Receive a touch operation performed on an image to be zoomed, and detect a touch time of the touch operation;
[0073] S202. Acquire a touch area corresponding to the touch operation when the touch time is greater than a preset time threshold;
[0074] S203. Perform zoom processing on the image to be zoomed according to the touch area.
[0075] Specifically, the time threshold is preset, for example, 30 milliseconds. The touch time refers to the duration of the touch operation. Comparing the touch time with a preset time threshold can avoid the problem of misoperation caused by mistaken touch, and further improve the efficiency of the zooming process. accuracy. It is worth noting that other steps in this embodiment are the same as those in Embodiment 1, and will not be repeated here.
Embodiment 3
[0077] This embodiment provides a picture scaling method, such as image 3 shown, which includes:
[0078] S301. Receive a touch operation performed on an image to be zoomed, and acquire a touch area corresponding to the touch operation;
[0079] S302. Compare the touch area with an area threshold;
[0080] S303. When the touch area is smaller than or equal to an area threshold, perform scaling processing on the image to be zoomed according to the touch area;
[0081] S304. When the touched area is larger than the area threshold, discard the touched area.
[0082] Specifically, the area threshold is used to calculate the scaling factor of the zooming process, that is, the scaling factor (maximum scaling factor) corresponding to the area threshold is preset, so that according to the relationship between the touch area and the area threshold Determine the scaling factor corresponding to the touch area. In practical applications, if the zoom factor threshold corresponding to ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


