Animation recording method and device
An animation and picture technology, applied in the direction of program control device, animation production, image data processing, etc., can solve the problem of low user experience satisfaction in animation recording, and achieve the effect of improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 2 is a flowchart of the animation recording process provided by an embodiment of the present invention; see figure 2 , the specific recording animation process is:
[0047] Step S210, providing a translucent window that can cover the entire screen, and the user can press the left mouse button and drag the mouse to select the area where the screenshot animation is to be recorded,
[0048] After the left mouse button pops up, call the following function to get the user's screenshot area;
[0049] VoidGetCopyScreenRect(LPRECTlpRect);
[0050] Parameter meaning: LPRECTlpRect indicates a pointer to a rectangular area, which is the area selected by the user.
[0051] Step S220, start a timer with a time interval of 150mS, record the screen in turn, and call the image function for intercepting the selected area:
[0052] Bitmap*CopyScreenToBitmap(LPRECTlpRect);
[0053] Function: intercept the image of the selected area;
[0054] Return value: the pointer to the...
Embodiment 2
[0115] According to the method for recording animation of the present invention, animation with masks can also be recorded. The specific implementation is as follows:
[0116] Receive the content edited by the user on a transparent image that is the same as the recording area selected by the user; draw the edited transparent image on top of each screenshot in the cache to obtain a screenshot with a mask; draw all the screenshots in the cache Making the screenshots into animation files specifically includes: making all the screenshots with masks in the cache into animation files.
[0117] Figure 5 It is a schematic diagram of recording mask animation display provided by an embodiment of the present invention; see Figure 5 , the formation of a custom mask (similar to the editing function of Fetion's screen capture function), draw the content edited by the user on a mask image, if the user does not like the custom mask, he can choose to only record the screen animation;
[0...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 