CN111638849A - Screenshot method and device and electronic equipment - Google Patents
Screenshot method and device and electronic equipment Download PDFInfo
- Publication number
- CN111638849A CN111638849A CN202010478679.0A CN202010478679A CN111638849A CN 111638849 A CN111638849 A CN 111638849A CN 202010478679 A CN202010478679 A CN 202010478679A CN 111638849 A CN111638849 A CN 111638849A
- Authority
- CN
- China
- Prior art keywords
- input
- screenshot
- screen
- target
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000004044 response Effects 0.000 claims description 47
- 238000005520 cutting process Methods 0.000 claims description 19
- 238000003860 storage Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 238000005304 joining Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a screenshot method, a screenshot device and electronic equipment, belongs to the technical field of communication, and can solve the problem of distortion of image content of a long screenshot obtained by splicing a plurality of screenshots. The method comprises the following steps: receiving a first input of a user in a target interface; responding to a first input, setting a first length range in a first direction, and sequentially setting N second length ranges in a second direction; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting images of N areas to be intercepted to obtain N screenshot images; splicing the N screen capture images along a second direction to obtain a target image; the first direction is a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction is a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1. The method is applied to scenes for obtaining the long screenshots.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a screenshot method, a screenshot device and electronic equipment.
Background
Currently, most electronic devices have a screenshot function.
Generally, if the size of the screenshot that the user wants to capture exceeds the size of the screen of the electronic device, or the user wants to capture multiple snapshots that are not displayed consecutively, the user may trigger the electronic device to capture multiple screenshots in sequence in one direction in the screen, for example, from the top to the bottom of the screen, or from the left to the right of the screen, and then stitch the multiple screenshots into one long screenshot.
However, since the above-mentioned multiple screenshots are respectively captured, the lengths of the splicing edges of the multiple screenshots may not be the same. For example, if the electronic device takes multiple screenshots in a direction from the left to the right of the screen, the longitudinal lengths of the multiple screenshots may not be the same. For another example, if the electronic device takes multiple screenshot images in a direction from the top to the bottom of the screen, the lateral lengths of the multiple screenshots may not be the same. In this way, in order to make the lengths of the joint edges of the plurality of screenshots consistent, some screenshots in the plurality of screenshots may be compressed or elongated, thereby causing distortion of the image content of the long screenshot obtained by joining the plurality of screenshots.
Disclosure of Invention
The embodiment of the application aims to provide a screenshot method, a screenshot device and electronic equipment, which can solve the problem of distortion of image content of a long screenshot obtained by splicing a plurality of screenshots.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a screenshot method, including: receiving a first input of a user in a target interface; responding to a first input, setting a first length range in a first direction, and sequentially setting N second length ranges in a second direction; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting images of N areas to be intercepted to obtain N screenshot images; splicing the N screen capture images along a second direction to obtain a target image; the first direction is a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction is a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1.
In a second aspect, an embodiment of the present application provides a screenshot device, where the screenshot device includes: the device comprises a receiving module and a processing module. The receiving module is used for receiving a first input of a user in the target interface; the processing module is used for responding to the first input received by the receiving module, setting a first length range in a first direction and sequentially setting N second length ranges in a second direction; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting images of N areas to be intercepted to obtain N screenshot images; splicing the N screen capture images along a second direction to obtain a target image; the first direction is a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction is a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method as provided in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the method as provided in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method as provided in the first aspect.
In the embodiment of the application, a first input of a user in a target interface can be received; responding to a first input, setting a first length range in a first direction, and sequentially setting N second length ranges in a second direction; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting images of N areas to be intercepted to obtain N screenshot images; splicing the N screen capture images along a second direction to obtain a target image; the first direction is a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction is a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1. According to the scheme, if a user needs to obtain a spliced image of a plurality of screen shots, the user can firstly set a first length range in the target interface along the first direction, and then sequentially set N second length ranges in the target interface along the second direction, so that the screen capturing device determines N areas to be captured with the same length range in the first direction, and respectively captures the images of the N areas to be captured to obtain N screen capturing images; then, the screenshot device can sequentially splice the N screenshot images along a second direction to obtain a spliced long screenshot. Because the length ranges of the N screen capture images in the first direction are the same, namely the lengths of the splicing edges are consistent, the N screen capture images cannot be compressed or elongated in the splicing process, and therefore the image quality of a long screenshot obtained by splicing the N screen capture images can be improved.
Drawings
FIG. 1 is a schematic diagram of a screenshot method provided by an embodiment of the present application;
FIG. 2 is one of the interface diagrams of a screenshot method provided in the embodiment of the present application;
FIG. 3 is a second schematic interface diagram of a screenshot method provided in the embodiment of the present application;
fig. 4 is a third interface schematic diagram of a screenshot method provided in the embodiment of the present application;
FIG. 5 is a fourth schematic interface diagram of a screenshot method provided in an embodiment of the present application;
FIG. 6 is a fifth schematic interface diagram of a screenshot method provided by an embodiment of the present application;
FIG. 7 is a sixth schematic interface diagram of a screenshot method provided by an embodiment of the present application;
FIG. 8 is a seventh schematic interface diagram of a screenshot method provided in an embodiment of the present application;
FIG. 9 is a schematic illustration of a first range of lengths provided by embodiments of the present application;
FIG. 10 is a schematic structural diagram of a screenshot device provided in an embodiment of the present application;
FIG. 11 is a hardware diagram of an electronic device provided by an embodiment of the present application;
fig. 12 is a second hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first" and "second" are usually one type, and the number of the objects is not limited, for example, the first input may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise specified, "a plurality" means two or more, for example, a plurality of screen shot images means two or more screen shot images, and the like.
Generally, if the size of the screenshot that the user wants to capture exceeds the size of the screen of the electronic device, or the user wants to capture multiple snapshots that are not displayed consecutively, the user may trigger the electronic device to capture multiple screenshots in sequence in one direction in the screen, for example, from the top to the bottom of the screen, or from the left to the right of the screen, and then stitch the multiple screenshots into one long screenshot. However, since the above-mentioned multiple screenshots are respectively captured, the lengths of the splicing edges of the multiple screenshots may not be the same. For example, if the electronic device takes multiple screenshots in a direction from the left to the right of the screen, the longitudinal lengths of the multiple screenshots may not be the same. For another example, if the electronic device takes multiple screenshot images in a direction from the top to the bottom of the screen, the lateral lengths of the multiple screenshots may not be the same. In this way, in order to make the lengths of the joint edges of the plurality of screenshots consistent, some screenshots in the plurality of screenshots may be compressed or elongated, thereby causing distortion of the image content of the long screenshot obtained by joining the plurality of screenshots.
In order to solve the above problem, the embodiment of the application may receive a first input of a user in a target interface; responding to a first input, setting a first length range in a first direction, and sequentially setting N second length ranges in a second direction; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting images of N areas to be intercepted to obtain N screenshot images; splicing the N screen capture images along a second direction to obtain a target image; the first direction is a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction is a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1. According to the scheme, if a user needs to obtain a spliced image of a plurality of screen shots, the user can firstly set a first length range in the target interface along the first direction, and then sequentially set N second length ranges in the target interface along the second direction, so that the screen capturing device determines N areas to be captured with the same length range in the first direction, and respectively captures the images of the N areas to be captured to obtain N screen capturing images; then, the screenshot device can sequentially splice the N screenshot images along a second direction to obtain a spliced long screenshot. Because the length ranges of the N screen capture images in the first direction are the same, namely the lengths of the splicing edges are consistent, the N screen capture images cannot be compressed or elongated in the splicing process, and therefore the image quality of a long screenshot obtained by splicing the N screen capture images can be improved.
The screenshot method, device and electronic device provided by the embodiment of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a screenshot method, where an execution subject of the method may be a screenshot device, and the method may include S101 to S105 described below.
S101, receiving a first input of a user in a target interface by a screenshot device.
The first input may be used to trigger the screenshot device to set a first length range in a first direction, and to sequentially set N second length ranges in a second direction. The first direction may be a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction may be a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1.
As shown in fig. 2, if the user wants to capture the screenshots of all the icons displayed in the target interface, but does not want to make the blank area in the screenshots too large, the user may trigger the screenshot device to capture the screenshot 1, where the screenshot 1 includes the icon 1, the icon 2, the icon 3, and the icon 4, trigger the screenshot device to capture the screenshot 2, where the screenshot 2 includes the icon 5 and the icon 6, and then trigger the screenshot device to splice the 2 screenshots into one long screenshot.
Alternatively, with continued reference to fig. 2, the first direction may be a direction parallel to the transverse boundary line of the target interface in the plane of the target interface, i.e., a direction F1 from the left side of the target interface to the right side of the target interface and a direction F2 from the right side of the target interface to the left side of the target interface; the direction parallel to the longitudinal boundary line of the target interface in the plane of the target interface, that is, the direction F3 from the upper side of the target interface to the lower side of the target interface and the direction F4 from the lower side of the target interface to the upper side of the target interface may be used. The second direction is a direction parallel to the longitudinal boundary line of the target interface when the first direction is a direction parallel to the lateral boundary line of the target interface, and the second direction is a direction parallel to the lateral boundary line of the target interface when the first direction is a direction parallel to the longitudinal boundary line of the target interface.
Optionally, the first length range refers to a length range of a first edge of each of the N screenshots. For example, if N is 2 and the N screenshots include screenshot 1 and screenshot 2, the first length range refers to the length range of the first edge of screenshot 1 and the length range of the first edge of screenshot 2, i.e., the length range of the first edge of screenshot 1 is the same as the length range of the first edge of screenshot 2, and both are the first length range.
Optionally, the second length range refers to a length range of a second edge of each of the N screenshots. For example, if N is 2, and N screenshots include screenshot 1 and screenshot 2, the 2 second length ranges are respectively the length range of the second edge of screenshot 1 and the length range of the second edge of screenshot 2, where the length range of the second edge of screenshot 1 and the length range of the first edge of screenshot 2 may be the same or different, that is, the 2 second length ranges may be the same or different.
It should be noted that the same length ranges in the embodiments of the present application may include the following two meanings:
the length values of the first layer, an edge of one screenshot and an edge of another screenshot are equal. For example, the first edge of shot 1 and the first edge of shot 2 are both 3 centimeters.
The lengths of the second layer and one edge of one screenshot are equal to the lengths of one edge of the other screenshot, and the coordinate values of the end point of one edge of one screenshot in the first direction are respectively the same as the coordinate values of the end point of the other edge in the first direction. For example, the coordinate values of the two endpoints of the first side of the screenshot 1 are (x1, y1) and (x2, y1), the coordinate values of the two endpoints of the first side of the screenshot 2 are (x1, y2) and (x2, y2), so that the lengths of the first side of the screenshot 1 and the first side of the screenshot 2 are both (x2-x1), the coordinate values of one endpoint of the first side of the screenshot 1 in the first direction and one endpoint of the first side of the screenshot 2 in the first direction are both x1, and the coordinate values of the other endpoint of the first side of the screenshot 1 in the first direction and the other endpoint of the first side of the screenshot 2 in the first direction are both x 2.
S102, responding to the first input, the screenshot device sets a first length range in the first direction and sequentially sets N second length ranges in the second direction.
Optionally, the S102 may be implemented in at least any one of the following 3 manners:
The first input includes: in the case of the first sub-input and the second sub-input, the screen capture apparatus may adjust a length range of a first edge of the first screen capture frame in the first direction in the target interface and adjust a length range of a second edge of the first screen capture frame in the second direction in the target interface in response to the first sub-input. And adjusting a length range of a second edge of the ith screen frame in the target interface along the second direction in response to the second sub-input; the second edge of the ith screen capture frame is perpendicular to the first edge of the first screen capture frame, the length range of the first edge of the ith screen capture frame is the same as that of the first edge of the first screen capture frame, one screen capture frame is used for determining a region to be captured, and i is an integer which is greater than 1 and less than or equal to N.
The first input includes: in the case of the third sub-input and the fourth sub-input, the screen capture apparatus may adjust, in response to the third sub-input, a length range of a first edge of the target screen capture frame in the first direction in the target interface, and adjust, in the second direction in the target interface, a sub-input of a length range of a second edge of the target screen capture frame; and responding to the fourth sub-input, and adjusting the position of the target screen frame in the target interface and the length range of the second side of the target screen frame in the target interface for (N-1) times along the second direction; the target screen capture frame at a position in the target interface is used for determining a region to be captured.
It should be noted that, in response to the fourth sub-input, the position of the target screen frame in the target interface may be adjusted in the second direction (N-1) times in the target interface, and the length range of the second side of the target screen frame may be adjusted or may not be adjusted when the position of the target screen frame in the target interface is adjusted each time, that is, the length range of the second side of the target screen frame may be adjusted according to the user requirement.
The first input includes: in the case of the fifth sub-input and the sixth sub-input, the screen capture device may display a first scale bar on a first side of the target interface and a second scale bar on a second side of the target interface in response to the fifth sub-input; and in response to the sixth sub-input, determining a first length range according to the first scale bar and determining the N second length ranges according to the second scale bar, wherein the first edge of the target interface and the second edge of the target interface are perpendicular to each other.
S103, the screen capture device determines a screen capture area according to the first length range and each second length range respectively to obtain N screen capture areas.
Taking N as 2, the first direction is a direction parallel to a transverse boundary line of the target interface in the plane of the target interface, and the second direction is a direction parallel to a longitudinal boundary line of the target interface in the plane of the target interface as an example. The determination of the N to-be-screenshot areas in S103 above can be explained by the following three examples for different first inputs.
Example 1: the first input includes: a first sub-input and a second sub-input.
The user may first trigger the screenshot device to switch to screenshot mode 1 by an input, for example, the user may trigger the screenshot device to switch to screenshot mode 1 by double-clicking the target interface. As shown in fig. 3 (a), in the case where the screen capture device is in the screen capture mode 1, the screen capture device may display a prompt message "please select a lateral range requiring screen capture" 10 and a first screen capture frame 11 that can adjust a lateral length range and a longitudinal length range. As shown in (b) of fig. 3, the user may perform a sub-input 1 of a first sub-input on the first screen frame 11, and the screen capture apparatus may adjust a length range of a first side of the first screen frame 11 along a lateral range in the target interface, that is, adjust length ranges of upper and lower sides of the first screen frame 11, in response to the sub-input 1. The user may then click on the control "next" 12. As shown in (c) in fig. 3, after receiving the click input, the screenshot device may cancel displaying the prompt message "please select the horizontal range requiring screenshot" 10 and display the prompt message "please select the vertical range requiring screenshot" 13 in response to the click input. The user can make a sub-input 2 of a first sub-input to the first screen frame 11, and the screen capture device can adjust the length range of the second side of the first screen frame 11 along the longitudinal range in the target interface, that is, adjust the length ranges of the left side and the right side of the first screen frame 11, in response to the sub-input 2. Thereafter, as shown in fig. 3 (d), the screen capture apparatus may display the adjusted first screen capture frame 11. The user may then click on the control "next" 12.
As shown in fig. 4 (a), after receiving the click input, the screenshot device may display a prompt message "continue screenshot" 14 in response to the click input, where the prompt message "continue screenshot" 14 includes a control "yes" and a control "no", and the user may click and input the control "yes". As shown in fig. 4 (b), the screen-capture device may display a second screen-capture frame 15 in response to the click input, the second screen-capture frame 15 having a first side with a length equal to that of the first side of the first screen-capture frame 11. Then, the user may perform a sub-input 1 of a second sub-input on the second screenshot box 15, and the screenshot device may display the adjusted second screenshot box 15 in response to the sub-input 1 after receiving the sub-input 1. Thereafter, the user may proceed with a click input to the control "next" 12. As shown in fig. 4 (c), after receiving the click input, the screenshot device may display a prompt message "continue screenshot" 14 in response to the click input, and the user may click and input the control "no". As shown in (d) of fig. 4, the screen capture apparatus may determine the first screen capture frame 11 and the second screen capture frame 15 as the areas to be captured, respectively, in response to the click input.
Example 2: the first input includes: a third sub-input and a fourth sub-input.
The user may first trigger the screenshot device to switch to screenshot mode 2 by an input, for example, the user may trigger the screenshot device to switch to screenshot mode 2 by pressing the target interface for a long time. As shown in fig. 5 (a), in the case where the screen capture device is in the screen capture mode 2, the screen capture device may display a target screen capture frame 16 in which the lateral length range and the longitudinal length range are adjustable. As shown in (b) of fig. 5, the user may make a sub input 1 of a third sub input to the target screen frame 16, and the screen capture apparatus may adjust a length range of a first side of the target screen frame 16 in the first direction in the target interface in response to the sub input 1, and display the target screen frame 16 after adjusting the length range of the first side, and lock the length range of the first side of the target screen frame 16. Thereafter, as shown in (c) of fig. 5, the user may make a sub input 2 of a third sub input to the target screen frame 16, and the screen capture apparatus may adjust the position and the length range of the second side of the target screen frame 16 in the second direction in the target interface in response to the sub input 2, so that the target screen frame 16 is located in an area 1, where the area 1 includes the icon 1, the icon 2, the icon 3, and the icon 4. Thereafter, the user may make child entry 1 of the fourth child entry into the target screen cut 16 after clicking the control "continue". As shown in (d) of fig. 5, the screenshot device may adjust the position of the target screenshot 16 and the length range of the second side in response to the sub-input 1, so that the target screenshot 16 is located in the area 2, and the icon 5 and the icon 6 are included in the area 2. Finally, the user can click on the control "done". The screen capture device may determine region 1 and region 2 as the regions to be captured in response to the click input.
Example 3: the first input includes: a fifth sub-input and a sixth sub-input.
The user may trigger the screenshot device to switch to screenshot mode 3 through a fifth sub-input. As shown in (a) of fig. 6, in the case where the screen capture device is in the screen capture mode 3, the screen capture device may display a first scale bar 17a on a first side of the target interface, a second scale bar 17b on a second side of the target interface, and a floating window 18 in the screen, wherein the first side of the target interface and the second side of the target interface are perpendicular to each other, the floating window 18 including a lateral length range input area and a longitudinal length range input area. Thereafter, as shown in (b) of fig. 6, the user may make a sixth sub-input to the floating window 18, i.e., input one lateral range length "1-12" and two longitudinal range lengths "4-7 and 12-15" determined according to the scale bar. Finally, the user can click on the control "done". The screen capture device may determine, in response to the click input, area 1 and area 2 as areas to be captured, where area 1 includes icon 1, icon 2, icon 3, and icon 4, and area 2 includes icon 5 and icon 6.
S104, the screen capture device captures the images of the N areas to be captured to obtain N screen capture images.
And S105, splicing the N screen capture images along the second direction by the screen capture device to obtain a target image.
Optionally, the screenshot device may sequentially splice the N screenshot images along the second direction according to the screenshot order of the N screenshot images to obtain a screenshot preview image, and display the screenshot preview image in the preview interface. Then, if the user wants to edit the N screenshot images, a second input may be made to the screenshot preview image, and the screenshot device may receive the second input of the user to the screenshot preview image and execute a corresponding editing operation in response to the second input.
One possible implementation manner is that the screenshot device can cut the screenshot preview image according to the second input parameter to obtain the target image. For example, as shown in (a) of fig. 7, if the margin blank area of the screenshot preview image displayed in the preview interface is large, or the user wants to save a screenshot of a specific size, the user may perform a second input of clipping the margin blank area on the screenshot preview image, and the input parameter of the second input may be the location information of the margin blank area 19. When the target interface is in the screenshot preview state, the target interface may display a prompt message "please select the screenshot position", and the user may input the position information of the margin area 19 in the target interface according to the prompt message, where the position information may be a scale range or a frame selection range. As shown in fig. 7 (b), the screen capture device may cut the margin area 19 in the screen capture preview image according to the position information of the margin area 19, to obtain the target image. Therefore, after the screenshot is finished, the screenshot device can obtain the screenshot of the specific size which the user wants to store without additionally cutting the target image.
Another possible implementation manner is that the screenshot device can cut the screenshot preview image along the target direction according to the second input parameter to obtain a plurality of screenshot preview sub-images, and the plurality of screenshot preview sub-images are spliced to obtain the target image. The target direction may include at least one of a first direction and a second direction. For example, as shown in fig. 8 (a), if the middle area of the screenshot preview image includes content that the user does not want to intercept, the user may perform a second input of intercepting the middle area of the screenshot preview image, and the input parameter of the second input may be position information of the middle area 20. Under the condition that the target interface is in the screenshot preview state, the target interface may display a prompt message "please select the screenshot position", and the user may input the position information of the middle area 20 in the target interface according to the prompt message, where the position information may be a scale range or a frame selection range. The screenshot device can cut the area in the screenshot preview image according to the position information of the middle area 20 to obtain a screenshot preview sub-image 1 and a screenshot preview sub-image 2. Then, as shown in fig. 8 (b), the screenshot device may splice the screenshot preview sub-image 1 and the screenshot preview sub-image 2 to obtain the target image. Therefore, the user can delete the user-defined position of the screenshot preview image in the screenshot process, and the image content desired by the user is obtained.
It should be noted that, in the foregoing S101 to S105, the icons displayed in the target interface are located at different positions of the same interface as an example, it may be understood that the target interface may include multiple interfaces, and in the process of acquiring the target image, a user may trigger the screenshot device to switch to different interfaces through page turning input, and obtain screenshot images in different interfaces. For example, if the target interface includes an interface 1 and an interface 2, where the interface 1 includes an icon 1, an icon 2, an icon 3, and an icon 4, and the interface 2 includes an icon 5 and an icon 6, the user may first trigger the screenshot device to obtain a screenshot image 1 in the interface 1, where the screenshot image 1 includes the icon 1, the icon 2, the icon 3, and the icon 4, then the user may trigger the screenshot device to switch from the interface 1 to the interface 2, obtain a screenshot image 2 in the interface 2, where the screenshot image 2 includes the icon 5 and the icon 6, and finally trigger the screenshot device to splice the screenshot image 1 and the screenshot image 2 into a long screenshot.
In the embodiment of the application, if a user needs to obtain a spliced image of a plurality of screen shots, the user can firstly set a first length range in a target interface along a first direction, and then sequentially set N second length ranges in the target interface along a second direction, so that a screen capturing device determines N areas to be captured with the same length range in the first direction, and respectively captures images of the N areas to be captured to obtain N screen capturing images; then, the screenshot device can sequentially splice the N screenshot images along a second direction to obtain a spliced long screenshot. Because the length ranges of the N screen capture images in the first direction are the same, namely the lengths of the splicing edges are consistent, the N screen capture images cannot be compressed or elongated in the splicing process, and therefore the image quality of a long screenshot obtained by splicing the N screen capture images can be improved.
Optionally, in the case that the second length ranges of the N screen shots are different, the first length ranges of the N screen shots may be the same or different. For example, taking N as 3 as an example, as shown in fig. 9 (a), the first length ranges of the 3 screen shots may all be (x2-x1), the second length ranges are (y1-y2), (y3-y4), and (y5-y6), and the screenshot device may stitch the 3 screen shots along the second direction, so as to obtain a target image in which two longitudinal boundary lines may be aligned. As shown in fig. 9 (b), the first length ranges of the 3 screen shots may be (X2-X1), (X3-X1), and (X4-X1), respectively, the screen capture device may splice the 3 screen shots in the second direction, and one longitudinal boundary line of the spliced 3 screen shots may be aligned, that is, the 3 edges corresponding to the coordinate X1 in the X axis are aligned and spliced. Then, the screenshot device can cut the unaligned parts of the spliced 3 screenshot images, so as to obtain a target image with two longitudinal boundary lines capable of being aligned.
It should be noted that, in the screenshot method provided in the embodiment of the present application, the execution subject may be a screenshot device, or a control module in the screenshot device for executing the screenshot method. In the embodiment of the present application, a screenshot device is taken as an example to execute a screenshot method, which illustrates the screenshot device provided in the embodiment of the present application.
As shown in fig. 10, an embodiment of the present application provides a screenshot device 1000, where the screenshot device 1000 may include a receiving module 1001 and a processing module 1002. The receiving module 1001 may be configured to receive a first input of a user in a target interface. A processing module 1002, configured to set a first length range in a first direction and sequentially set N second length ranges in a second direction in response to a first input received by the receiving module 1001; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting images of N areas to be intercepted to obtain N screenshot images; and splicing the N screen capture images along a second direction to obtain a target image. The first direction is a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction is a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1.
Optionally, in this embodiment of the application, the first input may include: a first sub-input and a second sub-input. The processing module 1002 may be specifically configured to, in response to the first sub-input, adjust a length range of a first edge of the first screen box in the first direction in the target interface, and adjust a length range of a second edge of the first screen box in the second direction in the target interface; in response to the second sub-input, adjusting a length range of a second edge of the ith screen box in the target interface in a second direction. The second edge of the ith screen capture frame is perpendicular to the first edge of the first screen capture frame, the length range of the first edge of the ith screen capture frame is the same as that of the first edge of the first screen capture frame, one screen capture frame is used for determining a region to be captured, and i is an integer which is greater than 1 and less than or equal to N.
Optionally, in this embodiment of the application, the first input includes: a third sub-input and a fourth sub-input. The processing module 1002 may be specifically configured to respond to the third sub-input, and adjust a length range of a first edge of the target screen frame in the first direction in the target interface, and adjust a length range of a second edge of the target screen frame in the second direction in the target interface; responding to the fourth sub-input, and adjusting the position of the target screen frame in the target interface and the length range of the second side of the target screen frame in (N-1) times along the second direction in the target interface; the target screen capture frame at a position in the target interface is used for determining a region to be captured.
Optionally, in this embodiment of the application, the first input includes: a fifth sub-input and a sixth sub-input. The processing module 1002 may be specifically configured to, in response to the fifth sub-input, display a first scale bar on a first edge of the target interface, and display a sub-input of a second scale bar on a second edge of the target interface, where the first edge of the target interface and the second edge of the target interface are perpendicular to each other; in response to the sixth sub-input, a first length range is determined from the first scale bar and N sub-inputs of a second length range are determined from the second scale bar.
Optionally, in this embodiment of the application, the processing module 1002 may be specifically configured to sequentially splice the N screen shots along the second direction according to the capturing order of the N screen shots, obtain a screenshot preview image, and display the screenshot preview image in a preview interface. The receiving module 1001 may further be configured to receive a second input of the screenshot preview image from the user. The processing module 1002 may be specifically configured to, in response to the second input received by the receiving module 1001, crop the screenshot preview image according to the input parameter of the second input, and obtain a target image; or according to the second input parameter, cutting the screenshot preview image along the target direction to obtain a plurality of screenshot preview sub-images, and splicing the screenshot preview sub-images to obtain the target image, wherein the target direction comprises at least one of the first direction and the second direction.
If a user needs to obtain a spliced image of a plurality of screenshots, the user can firstly set a first length range in the target interface along the first direction, and then sequentially set N second length ranges in the target interface along the second direction, so that the screenshot device determines N areas to be screenshot which have the same length range in the first direction, and respectively intercepts the images of the N areas to be screenshot to obtain N screenshot images; then, the screenshot device can sequentially splice the N screenshot images along a second direction to obtain a spliced long screenshot. Because the length ranges of the N screen capture images in the first direction are the same, namely the lengths of the splicing edges are consistent, the N screen capture images cannot be compressed or elongated in the splicing process, and therefore the image quality of a long screenshot obtained by splicing the N screen capture images can be improved.
The screenshot device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The screenshot device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The screenshot device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1 to 9, and is not described here again to avoid repetition. The screenshot device can be an electronic device or a functional module in the electronic device.
Optionally, an electronic device 1100 is further provided in this embodiment of the present application, and includes a processor 1101 shown in fig. 11, a memory 1102, and a program or an instruction stored in the memory 1102 and executable on the processor 1101, where the program or the instruction is executed by the processor 1101 to implement each process of the screenshot method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensors 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1210 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1207 may be configured to receive a first input of a user in the target interface.
A processor 1210, which may be operative to set a first length range in a first direction and N second length ranges in sequence in a second direction in response to a first input; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting images of N areas to be intercepted to obtain N screenshot images; splicing the N screen capture images along a second direction to obtain a target image; the first direction is a direction parallel to one boundary line of the target interface in the plane of the target interface, the second direction is a direction perpendicular to the first direction in the plane of the target interface, and N is an integer greater than 1.
A processor 1210, which may be specifically configured to adjust a length range of a first edge of a first screen box in a first direction in the target interface and adjust a length range of a second edge of the first screen box in a second direction in the target interface in response to the first sub-input; in response to the second sub-input, adjusting a length range of a second edge of the ith screen box in the target interface in a second direction. The second edge of the ith screen capture frame is perpendicular to the first edge of the first screen capture frame, the length range of the first edge of the ith screen capture frame is the same as that of the first edge of the first screen capture frame, one screen capture frame is used for determining a region to be captured, and i is an integer which is greater than 1 and less than or equal to N.
A processor 1210, which may be specifically configured to adjust a length range of a first edge of the target screen box in the first direction in the target interface and adjust a length range of a second edge of the target screen box in the second direction in the target interface in response to the third sub-input; responding to the fourth sub-input, and adjusting the position of the target screen frame in the target interface and the length range of the second side of the target screen frame in (N-1) times along the second direction in the target interface; the target screen capture frame at a position in the target interface is used for determining a region to be captured.
The processor 1210 may be specifically configured to, in response to the fifth sub-input, display a first scale bar on a first edge of the target interface and display a sub-input of a second scale bar on a second edge of the target interface, where the first edge of the target interface and the second edge of the target interface are perpendicular to each other; in response to the sixth sub-input, a first length range is determined from the first scale bar and N sub-inputs of a second length range are determined from the second scale bar.
The processor 1210 may be specifically configured to sequentially stitch the N screen shots along the second direction according to the clipping order of the N screen shots, to obtain a screenshot preview image, and display the screenshot preview image in a preview interface.
The user input unit 1207 may be further configured to receive a second input from the user to the screenshot preview image.
The processor 1210 may be specifically configured to, in response to a second input, crop the screenshot preview image according to the input parameter of the second input, and obtain a target image; or according to the second input parameter, cutting the screenshot preview image along the target direction to obtain a plurality of screenshot preview sub-images, and splicing the screenshot preview sub-images to obtain the target image, wherein the target direction comprises at least one of the first direction and the second direction.
In the embodiment of the application, if a user needs to obtain a spliced image of multiple screen shots, the user can set a first length range in a target interface along a first direction, and then sequentially set N second length ranges in the target interface along a second direction, so that the electronic device determines N areas to be screen shot with the same length range in the first direction, and respectively captures images of the N areas to be screen shot to obtain N screen shot images; and then, the electronic equipment can sequentially splice the N screen capture images along a second direction to obtain a spliced long screenshot. Because the length ranges of the N screen capture images in the first direction are the same, namely the lengths of the splicing edges are consistent, the N screen capture images cannot be compressed or elongated in the splicing process, and therefore the image quality of a long screenshot obtained by splicing the N screen capture images can be improved.
It should be understood that, in the embodiment of the present application, the input unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the graphics processing unit 12041 processes image data of a still picture or a video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. A touch panel 12071, also referred to as a touch screen. The touch panel 12071 may include two parts of a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1209 may be used to store software programs and various data, including but not limited to application programs 12091 and an operating system 12092. Processor 1210 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the screenshot method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is a processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the screenshot method embodiment, and can achieve the same technical effect, and no further description is given here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes several instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods provided in the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (12)
1. A method of screenshot, the method comprising:
receiving a first input of a user in a target interface;
responding to the first input, setting a first length range in a first direction, and sequentially setting N second length ranges in a second direction;
respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing;
intercepting the images of the N areas to be intercepted to obtain N screenshot images;
splicing the N screen capture images along the second direction to obtain a target image;
the first direction is a direction parallel to one boundary line of the target interface in a plane where the target interface is located, the second direction is a direction perpendicular to the first direction in the plane where the target interface is located, and N is an integer greater than 1.
2. The method of claim 1, wherein the first input comprises: a first sub-input and a second sub-input;
the setting a first length range in a first direction and N second length ranges in sequence in a second direction in response to the first input includes:
in response to the first sub-input, adjusting a length range of a first edge of a first one of the screen boxes in the first direction in the target interface, and adjusting a length range of a second edge of the first one of the screen boxes in the second direction in the target interface;
adjusting a length range of a second edge of an ith screen box in the target interface along the second direction in response to the second sub-input;
the second edge of the ith screen cutting frame is perpendicular to the first edge of the first screen cutting frame, the length range of the first edge of the ith screen cutting frame is the same as that of the first edge of the first screen cutting frame, one screen cutting frame is used for determining a region to be subjected to screen cutting, and i is an integer which is greater than 1 and less than or equal to N.
3. The method of claim 1, wherein the first input comprises: a third sub-input and a fourth sub-input;
the setting a first length range in a first direction and N second length ranges in sequence in a second direction in response to the first input includes:
in response to the third sub-input, adjusting a length range of a first edge of a target screen box in the first direction in the target interface and adjusting a length range of a second edge of the target screen box in the second direction in the target interface;
in response to the fourth sub-input, adjusting the position of the target screen frame in the target interface and the length range of the second edge of the target screen frame in (N-1) times along the second direction in the target interface;
the target screen capture frame at a position in the target interface is used for determining a to-be-captured area.
4. The method of claim 1, wherein the first input comprises: a fifth sub-input and a sixth sub-input;
the setting a first length range in a first direction and N second length ranges in sequence in a second direction in response to the first input includes:
in response to the fifth sub-input, displaying a first scale bar on a first side of the target interface and a second scale bar on a second side of the target interface, wherein the first side of the target interface and the second side of the target interface are perpendicular to each other;
in response to the sixth sub-input, determining the first length range from the first scale bar and the N second length ranges from the second scale bar.
5. The method according to any one of claims 1 to 4, wherein the stitching the N screen shots along the second direction to obtain a target image comprises:
sequentially splicing the N screen shot images along the second direction according to the cutting sequence of the N screen shot images to obtain a screen shot preview image, and displaying the screen shot preview image in a preview interface;
receiving a second input of the user to the screenshot preview image;
responding to the second input, and cutting the screenshot preview image according to the input parameters of the second input to obtain the target image; or according to the second input parameter, cutting the screenshot preview image along a target direction to obtain a plurality of screenshot preview sub-images, and splicing the screenshot preview sub-images to obtain the target image, wherein the target direction comprises at least one of the first direction and the second direction.
6. A screenshot device, comprising: the device comprises a receiving module and a processing module;
the receiving module is used for receiving a first input of a user in the target interface;
the processing module is used for responding to the first input received by the receiving module, setting a first length range in a first direction, and sequentially setting N second length ranges in a second direction; respectively determining a region to be subjected to screen capturing according to the first length range and each second length range to obtain N regions to be subjected to screen capturing; intercepting the images of the N areas to be intercepted to obtain N screenshot images; splicing the N screen capture images along the second direction to obtain a target image;
the first direction is a direction parallel to one boundary line of the target interface in a plane where the target interface is located, the second direction is a direction perpendicular to the first direction in the plane where the target interface is located, and N is an integer greater than 1.
7. The screenshot device of claim 6, wherein the first input comprises: a first sub-input and a second sub-input;
the processing module is specifically configured to, in response to the first sub-input, adjust a length range of a first edge of a first screen box in the first direction in the target interface, and adjust a length range of a second edge of the first screen box in the second direction in the target interface; adjusting a length range of a second edge of an ith screen box in the target interface along the second direction in response to the second sub-input;
the second edge of the ith screen cutting frame is perpendicular to the first edge of the first screen cutting frame, the length range of the first edge of the ith screen cutting frame is the same as that of the first edge of the first screen cutting frame, one screen cutting frame is used for determining a region to be subjected to screen cutting, and i is an integer which is greater than 1 and less than or equal to N.
8. The screenshot device of claim 6, wherein the first input comprises: a third sub-input and a fourth sub-input;
the processing module is specifically configured to respond to the third sub-input, and adjust a length range of a first edge of a target screen frame in the first direction in the target interface, and adjust a length range of a second edge of the target screen frame in the second direction in the target interface; in response to the fourth sub-input, sub-inputs that adjust the position of the target screen frame in the target interface and the length range of the second edge of the target screen frame in (N-1) times in the second direction in the target interface;
the target screen capture frame at a position in the target interface is used for determining a to-be-captured area.
9. The screenshot device of claim 6, wherein the first input comprises: a fifth sub-input and a sixth sub-input;
the processing module is specifically configured to, in response to the fifth sub-input, display a first scale bar on a first edge of the target interface and display a sub-input of a second scale bar on a second edge of the target interface, where the first edge of the target interface and the second edge of the target interface are perpendicular to each other; in response to the sixth sub-input, determining the first length range from the first scale bar and determining the N second length range sub-inputs from the second scale bar.
10. The screenshot device according to any one of claims 6 through 9,
the processing module is specifically configured to sequentially splice the N screenshot images along the second direction according to the interception order of the N screenshot images to obtain a screenshot preview image, and display the screenshot preview image in a preview interface;
the receiving module is further used for receiving a second input of the screenshot preview image from the user;
the processing module is specifically configured to respond to the second input received by the receiving module, and cut the screenshot preview image according to an input parameter of the second input to obtain the target image; or according to the second input parameter, cutting the screenshot preview image along a target direction to obtain a plurality of screenshot preview sub-images, and splicing the screenshot preview sub-images to obtain the target image, wherein the target direction comprises at least one of the first direction and the second direction.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the screenshot method as claimed in any one of claims 1-5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the screenshot method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010478679.0A CN111638849A (en) | 2020-05-29 | 2020-05-29 | Screenshot method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010478679.0A CN111638849A (en) | 2020-05-29 | 2020-05-29 | Screenshot method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111638849A true CN111638849A (en) | 2020-09-08 |
Family
ID=72332874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010478679.0A Pending CN111638849A (en) | 2020-05-29 | 2020-05-29 | Screenshot method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111638849A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113778300A (en) * | 2021-08-13 | 2021-12-10 | 维沃移动通信(杭州)有限公司 | Screen capturing method and device |
CN113835602A (en) * | 2021-09-29 | 2021-12-24 | 维沃移动通信有限公司 | Screen capturing method and device and electronic equipment |
CN114827737A (en) * | 2022-04-25 | 2022-07-29 | 维沃移动通信有限公司 | Image generation method and device and electronic equipment |
CN114860135A (en) * | 2022-05-23 | 2022-08-05 | 维沃移动通信有限公司 | Screenshot method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984502A (en) * | 2014-05-30 | 2014-08-13 | 天津三星通信技术研究有限公司 | Method for capturing screen content and portable terminal |
JP2015128210A (en) * | 2013-12-27 | 2015-07-09 | キヤノンマーケティングジャパン株式会社 | Information processing system, control method for the same, and program and server device, control method for the same, and program |
CN108037871A (en) * | 2017-11-07 | 2018-05-15 | 维沃移动通信有限公司 | Screenshotss method and mobile terminal |
CN109189301A (en) * | 2018-08-23 | 2019-01-11 | 珠海格力电器股份有限公司 | Screen capture method and device |
-
2020
- 2020-05-29 CN CN202010478679.0A patent/CN111638849A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015128210A (en) * | 2013-12-27 | 2015-07-09 | キヤノンマーケティングジャパン株式会社 | Information processing system, control method for the same, and program and server device, control method for the same, and program |
CN103984502A (en) * | 2014-05-30 | 2014-08-13 | 天津三星通信技术研究有限公司 | Method for capturing screen content and portable terminal |
CN108037871A (en) * | 2017-11-07 | 2018-05-15 | 维沃移动通信有限公司 | Screenshotss method and mobile terminal |
CN109189301A (en) * | 2018-08-23 | 2019-01-11 | 珠海格力电器股份有限公司 | Screen capture method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113778300A (en) * | 2021-08-13 | 2021-12-10 | 维沃移动通信(杭州)有限公司 | Screen capturing method and device |
CN113835602A (en) * | 2021-09-29 | 2021-12-24 | 维沃移动通信有限公司 | Screen capturing method and device and electronic equipment |
CN114827737A (en) * | 2022-04-25 | 2022-07-29 | 维沃移动通信有限公司 | Image generation method and device and electronic equipment |
CN114860135A (en) * | 2022-05-23 | 2022-08-05 | 维沃移动通信有限公司 | Screenshot method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111638849A (en) | Screenshot method and device and electronic equipment | |
CN108024073B (en) | Video editing method and device and intelligent mobile terminal | |
CN111813309B (en) | Display method, display device, electronic equipment and readable storage medium | |
CN112099707A (en) | Display method and device and electronic equipment | |
CN113126862B (en) | Screen capture method and device, electronic equipment and readable storage medium | |
CN111143013A (en) | Screenshot method and electronic equipment | |
CN110908554B (en) | Long screenshot method and terminal device | |
CN112911147B (en) | Display control method, display control device and electronic equipment | |
CN112099714B (en) | Screenshot method and device, electronic equipment and readable storage medium | |
CN113596555B (en) | Video playing method and device and electronic equipment | |
CN112684963A (en) | Screenshot method and device and electronic equipment | |
CN112162812A (en) | Object adding method and device | |
CN116107531A (en) | Interface display method and device | |
CN113407144B (en) | Display control method and device | |
CN114518822A (en) | Application icon management method and device and electronic equipment | |
CN112399010B (en) | Page display method and device and electronic equipment | |
CN112181252B (en) | Screen capturing method and device and electronic equipment | |
CN111796746B (en) | Volume adjusting method, volume adjusting device and electronic equipment | |
CN111857465B (en) | Application icon sorting method and device and electronic equipment | |
CN113485853A (en) | Information interaction method and device and electronic equipment | |
CN112637407A (en) | Voice input method and device and electronic equipment | |
CN112486616A (en) | Interface display method, interface display device, electronic equipment and storage medium | |
CN111638844A (en) | Screen capturing method and device and electronic equipment | |
CN112966484B (en) | Chart typesetting method, device, electronic equipment and readable storage medium | |
CN113726953B (en) | Display content acquisition method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200908 |