CN110969683A - Animation generation method and device and electronic equipment - Google Patents

Animation generation method and device and electronic equipment Download PDF

Info

Publication number
CN110969683A
CN110969683A CN201811161928.2A CN201811161928A CN110969683A CN 110969683 A CN110969683 A CN 110969683A CN 201811161928 A CN201811161928 A CN 201811161928A CN 110969683 A CN110969683 A CN 110969683A
Authority
CN
China
Prior art keywords
image
image data
animation
displayed
drawing instruction
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
Application number
CN201811161928.2A
Other languages
Chinese (zh)
Inventor
冉超群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811161928.2A priority Critical patent/CN110969683A/en
Publication of CN110969683A publication Critical patent/CN110969683A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an animation generation method, an animation generation device and electronic equipment, wherein the method comprises the following steps: when a first image in the template animation is displayed, second image data corresponding to an image to be displayed in the next frame of the first image is extracted from the template animation, the second image data is subjected to image drawing through a drawing instruction to obtain a drawn second image, and the second image is displayed on a display screen displaying the first image. The image data corresponding to all the images in the template animation is not required to be processed, the second image data corresponding to the image to be displayed in the next frame is selectively extracted, the second image data is subjected to image drawing through the drawing instruction to obtain the drawn second image, and the second image is displayed on the display screen displaying the first image, so that the animation effect can be realized. The technical problem of large system performance consumption in the prior art is solved, and the technical effect of reducing the system energy consumption is achieved.

Description

Animation generation method and device and electronic equipment
Technical Field
The invention relates to the technical field of electronic information, in particular to an animation generation method and device and electronic equipment.
Background
With the development of science and technology, various electronic devices are popularized in the aspects of people's life, especially mobile phones, computers, tablet computers and the like. The functions that people commonly use are functions of displaying information of electronic devices, such as displaying pictures, characters, etc., nowadays, electronic devices and applications in the electronic devices have more and more display effects, such as animations, videos, etc., to achieve the purpose of enriching the presentation of interfaces.
In the prior art, a system needs to refresh all images forming an animation effect to update so as to realize the animation effect, and the method for realizing the animation has high consumption on system performance.
Disclosure of Invention
In view of the above, the present invention has been made to provide an animation generation method, apparatus and electronic device that overcome the above problems or at least partially solve the above problems.
In a first aspect of the present invention, there is provided an animation generation method, including:
when a first image in a template animation is displayed, extracting second image data corresponding to an image to be displayed in the next frame of the first image from the template animation;
performing image drawing on the second image data through a drawing instruction to obtain a drawn second image;
displaying the second image on a display screen displaying the first image.
Optionally, the image drawing the second image data through the drawing instruction to obtain a drawn second image includes:
triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data;
and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image.
Optionally, the image-rendering the second image data according to the rendering parameter to obtain the second image includes:
calling a drawing instruction corresponding to the second image data;
acquiring a target canvas corresponding to the second image data;
and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
Optionally, the obtaining of the canvas corresponding to the second image data specifically includes: selecting a target canvas corresponding to the second image data from the plurality of canvases that have been created.
Optionally, before the displaying the second image on the display screen displaying the first image, the method further includes:
rendering the second image.
In a second aspect of the present invention, there is provided an animation generation apparatus, comprising:
the method comprises the steps of obtaining an image database module, and extracting second image data corresponding to an image to be displayed in the next frame of a first image from template animation when the first image in the template animation is displayed;
the image drawing module is used for drawing the second image data through a drawing instruction to obtain a drawn second image;
and the display module is used for displaying the second image on a display screen for displaying the first image.
Optionally, the image rendering module is further configured to:
triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data;
and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image.
Optionally, the image rendering module is further configured to:
calling a drawing instruction corresponding to the second image data;
acquiring a target canvas corresponding to the second image data;
and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
Optionally, the image rendering module is further configured to: selecting a target canvas corresponding to the second image data from the plurality of canvases that have been created.
Optionally, the apparatus further comprises:
a rendering module to render the second image prior to displaying the second image on the display screen displaying the first image.
In a third aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above.
In a fourth aspect of the invention, an electronic device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the above methods when executing the program.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
the embodiment of the invention provides an animation generation method, an animation generation device and electronic equipment, wherein the method comprises the following steps: when a first image in the template animation is displayed, second image data corresponding to an image to be displayed in the next frame of the first image is extracted from the template animation, the second image data is subjected to image drawing through a drawing instruction to obtain a drawn second image, and the second image is displayed on a display screen displaying the first image. The image data corresponding to all the images in the template animation is not required to be processed, the second image data corresponding to the image to be displayed in the next frame is extracted and processed selectively, the system calculation amount is reduced, the system energy consumption is reduced, the second image data is subjected to image drawing through the drawing instruction to obtain the drawn second image, and the second image is displayed on the display screen displaying the first image, so that the animation effect can be realized. The technical problem of high performance consumption of a system for realizing the animation effect in the prior art is solved, and the technical effect of reducing the energy consumption of the system is achieved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a method for generating animation according to an embodiment of the present invention;
FIG. 2 is a block diagram of an animation generation apparatus 200 according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of an electronic device according to an embodiment of the present invention;
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As an alternative embodiment, the animation generating method provided by the present invention includes steps S100 to S300 as shown in fig. 1, and the steps S100 to S300 are described below with reference to fig. 1.
Step S100: when a first image in a template animation is displayed, second image data corresponding to an image to be displayed in the next frame of the first image is extracted from the template animation.
In an embodiment of the present invention, the template animation includes a plurality of frames of images. Specifically, when the first image in the template animation is displayed, an analog signal corresponding to an image to be displayed in the next frame is simultaneously acquired, and image data is obtained according to the analog signal, wherein the image data includes characteristics of the analog signal. Here, the analog signal may be sound.
In order to realize the animation effect, the system needs to refresh and update the images constituting the animation effect, wherein the animation effect is called the animation effect, and the template animation refers to an image sequence composed of the images constituting the animation effect. In the prior art, the frame rate of a system for refreshing a dynamic effect picture is fixed, the system needs to redraw and render image data corresponding to all images in a template animation in order to refresh the dynamic effect picture, the system has a large calculation amount, on one hand, the system consumes large energy, on the other hand, a pause phenomenon easily occurs when the system consumes large energy, and after the system generates the pause phenomenon, the system stops drawing and rendering the images, and at the moment, the pause phenomenon easily occurs on the dynamic effect picture.
However, in fact, on the one hand, when the animation is presented, not all images in all animation pictures are changed, and at this time, only the image data corresponding to the changed images need to be redrawn and rendered. On the other hand, when the frame rate is low and a good animation effect can be achieved, the image data corresponding to all the images in the template animation does not need to be redrawn and rendered, the image data corresponding to the partial images in the template animation can be selected to be redrawn and rendered, and the redrawn and rendered images are displayed according to the set frame rate, so that the animation effect can be achieved, and the system performance can be saved. Specifically, please refer to step S200.
Step S200: and performing image drawing on the second image data through a drawing instruction to obtain a drawn second image.
Drawing instructions are instructions that may cause a module that implements image drawing to be invoked.
In the embodiment of the present invention, a specific implementation manner of performing image rendering on the second image data through the drawing instruction to obtain a rendered second image is as follows: triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data; and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image. Wherein the image rendering the second image data according to the rendering parameter to obtain the second image includes: calling a drawing instruction corresponding to the second image data; acquiring a target canvas corresponding to the second image data; and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
In the embodiment of the present invention, the canvas corresponding to the second image data is obtained, and a target canvas corresponding to the second image data is selected from the plurality of canvases that have been created. Here, the template animation includes a plurality of image data, each of which corresponds to one of the created canvases. The drawing instruction comprises the identification of the canvas corresponding to the second image data, and the drawing instruction acquires the target canvas corresponding to the second image data according to the identification.
As an embodiment, in an Android (Android) system, the drawing instruction may correspond to an abstract class of View in the Android system, the canvas may correspond to an abstract class of Layer in the Android system, the canvas corresponding to the second image data is selected by the drawing instruction, and a specific implementation manner in the Android system may be implemented by View.
Wherein both View and Layer act as canvas for realizing image drawing. Generally, views and layers are located in different levels in Android, views correspond to Java language program levels of the Android, layers correspond to C language program levels of the Android, and in the Android system, energy consumption for drawing images by using the layers is lower than that of drawing images by using views. For an Android system, in the prior art, a Layer is applied by calling a surfefinger class of which a service is responsible for drawing an Interface (User Interface, UI) of an Android application program, but the application of the Layer based on the surfefinger class generally applies for the number of the layers corresponding to the number of images according to the number of the images corresponding to image information transmitted into the surfefinger, and when the images are drawn, the layers simultaneously draw the images, so that energy consumption is high, and system blockage is easily caused.
In the embodiment of the present invention, the drawing parameters may be delivered via a network, or acquired in real time, or pre-stored in the system. Here, the drawing parameters include a rotation parameter, a translation parameter, a zoom parameter, a fade parameter, and the like. The rotation parameter is used for realizing the rotation dynamic effect of the dynamic effect picture, the translation parameter is used for realizing the dynamic effect of the translation motion of the dynamic effect picture, the zooming parameter is used for realizing the reduction or amplification dynamic effect of the dynamic effect picture, and the gradual change parameter is used for realizing the gradual change dynamic effect of the color, brightness or shape degree of the dynamic effect picture. Specifically, the second image data corresponding to each frame of image in the effective picture is changed according to the drawing parameters, so that the image is changed, and the animation effect is further realized.
Step S300: displaying the second image on a display screen displaying the first image.
By displaying the first image and then displaying the second image in the next frame, an animation effect can be produced on the display screen.
In an embodiment of the present invention, before displaying the second image on the display screen displaying the first image, the method further includes: rendering the second image.
As an embodiment, in the Android system, the second image may be rendered by a surfefinger class, and the rendered second image is displayed.
As an example, when the first image is a two-frame image in the animation, after the first image is displayed, a third frame image of the animation needs to be displayed. The template animation stores image data a corresponding to a third frame image, image data B corresponding to a fourth frame image, image data C corresponding to a fifth frame image, and the like. When the first image in the template animation is displayed, the image data a is extracted from the template animation as target image data (i.e., second image data), and image drawing and rendering are performed according to the image data a, so that a third frame image (i.e., the second image) to be displayed is obtained. When the second image is displayed, image data B is extracted from the template animation as target image data, image drawing and rendering are carried out according to the image data B, namely, a fourth frame image needing to be displayed is obtained, when the fourth frame image is displayed, image data C is extracted from the template animation as target image data, and image drawing and rendering are carried out according to the image data C, namely, a fifth frame image needing to be displayed is obtained. Thus, the animation effect is realized.
By adopting the scheme, when the first image in the template animation is displayed, the second image data corresponding to the image to be displayed in the next frame of the first image is extracted from the template animation, the second image data is subjected to image drawing through the drawing instruction to obtain the drawn second image, and the second image is displayed on the display screen displaying the first image. The image data corresponding to all the images in the template animation is not required to be processed, the second image data corresponding to the image to be displayed in the next frame is selectively extracted, the second image data is subjected to image drawing through the drawing instruction to obtain the drawn second image, and the second image is displayed on the display screen displaying the first image, so that the animation effect can be realized. The technical problem of large system performance consumption in the prior art is solved, and the technical effect of reducing the system energy consumption is achieved.
Aiming at the above embodiment to provide an animation generation method, the embodiment of the present application also provides an animation generation device 200 correspondingly. Referring to fig. 2, the apparatus includes:
the image obtaining database module 210 is configured to, when a first image in a template animation is displayed, extract second image data corresponding to an image to be displayed in a next frame of the first image from the template animation;
the image drawing module 220 is configured to perform image drawing on the second image data through a drawing instruction to obtain a drawn second image;
a display module 230, configured to display the second image on a display screen displaying the first image.
Optionally, the image drawing module 220 is further configured to:
triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data;
and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image.
Optionally, the image drawing module 220 is further configured to:
calling a drawing instruction corresponding to the second image data;
acquiring a target canvas corresponding to the second image data;
and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
Optionally, the image drawing module 220 is further configured to: selecting a target canvas corresponding to the second image data from the plurality of canvases that have been created.
Optionally, the apparatus further comprises:
a rendering module to render the second image prior to displaying the second image on the display screen displaying the first image.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present invention further provides an electronic device, as shown in fig. 3, including a memory 504, a processor 502, and a computer program stored on the memory 504 and executable on the processor 502, where the processor 502 implements the steps of any one of the animation generation methods described above when executing the program.
Where in fig. 3 a bus architecture (represented by bus 500) is shown, bus 500 may include any number of interconnected buses and bridges, and bus 500 links together various circuits including one or more processors, represented by processor 502, and memory, represented by memory 504. The bus 500 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 505 provides an interface between the bus 500 and the receiver 501 and transmitter 503. The receiver 501 and the transmitter 503 may be the same element, i.e. a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 502 is responsible for managing the bus 500 and general processing, and the memory 504 may be used for storing data used by the processor 502 in performing operations.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the animation generation methods described above.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in an apparatus according to an embodiment of the invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses an animation generation method, which is characterized by comprising the following steps:
when a first image in a template animation is displayed, extracting second image data corresponding to an image to be displayed in the next frame of the first image from the template animation;
performing image drawing on the second image data through a drawing instruction to obtain a drawn second image;
displaying the second image on a display screen displaying the first image.
A2. The animation generation method as claimed in a1, wherein the image-rendering the second image data by the drawing instruction to obtain the rendered second image includes:
triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data;
and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image.
A3. The animation generation method as claimed in a2, wherein the image-rendering the second image data according to the rendering parameter to obtain the second image includes:
calling a drawing instruction corresponding to the second image data;
acquiring a target canvas corresponding to the second image data;
and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
A4. The animation generation method according to a3, wherein the obtaining of the canvas corresponding to the second image data specifically includes: selecting a target canvas corresponding to the second image data from the plurality of canvases that have been created.
A5. The animation generation method of any of a1-a4, further comprising, prior to the displaying the second image on the display screen displaying the first image:
rendering the second image.
B6. An animation generation apparatus, characterized in that the apparatus comprises:
the method comprises the steps of obtaining an image database module, and extracting second image data corresponding to an image to be displayed in the next frame of a first image from template animation when the first image in the template animation is displayed;
the image drawing module is used for drawing the second image data through a drawing instruction to obtain a drawn second image;
and the display module is used for displaying the second image on a display screen for displaying the first image.
B7. The animation generation apparatus as claimed in B6, wherein the render image module is further configured to:
triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data;
and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image.
B8. The animation generation apparatus as claimed in B7, wherein the render image module is further configured to:
calling a drawing instruction corresponding to the second image data;
acquiring a target canvas corresponding to the second image data;
and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
B9. The animation generation apparatus as claimed in B8, wherein the render image module is further configured to: selecting a target canvas corresponding to the second image data from the plurality of canvases that have been created.
B10. The animation generation apparatus of any of BB6-B9, the apparatus further comprising:
a rendering module to render the second image prior to displaying the second image on the display screen displaying the first image.
C11, a computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, carries out the steps of the method according to any one of claims a1-a 5.
D12, an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any of claims a1-a5 when executing the program.

Claims (10)

1. A method of animation generation, the method comprising:
when a first image in a template animation is displayed, extracting second image data corresponding to an image to be displayed in the next frame of the first image from the template animation;
performing image drawing on the second image data through a drawing instruction to obtain a drawn second image;
displaying the second image on a display screen displaying the first image.
2. The animation generation method as claimed in claim 1, wherein the image-rendering the second image data by the drawing instruction to obtain a rendered second image comprises:
triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data;
and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image.
3. The animation generation method as claimed in claim 2, wherein the image-rendering the second image data according to the rendering parameter to obtain the second image comprises:
calling a drawing instruction corresponding to the second image data;
acquiring a target canvas corresponding to the second image data;
and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
4. The animation generation method according to claim 3, wherein the obtaining of the canvas corresponding to the second image data specifically includes: selecting a target canvas corresponding to the second image data from the plurality of canvases that have been created.
5. The animation generation method as claimed in any one of claims 1 to 4, further comprising, before the displaying the second image on the display screen on which the first image is displayed:
rendering the second image.
6. An animation generation apparatus, characterized in that the apparatus comprises:
the method comprises the steps of obtaining an image database module, and extracting second image data corresponding to an image to be displayed in the next frame of a first image from template animation when the first image in the template animation is displayed;
the image drawing module is used for drawing the second image data through a drawing instruction to obtain a drawn second image;
and the display module is used for displaying the second image on a display screen for displaying the first image.
7. The animation generation apparatus as recited in claim 6, wherein the render image module is further to:
triggering a drawing instruction, and acquiring drawing parameters corresponding to the second image data according to the second image data;
and responding to the drawing instruction, and drawing the second image data according to the drawing parameters to obtain the second image.
8. The animation generation apparatus as recited in claim 7, wherein the render image module is further to:
calling a drawing instruction corresponding to the second image data;
acquiring a target canvas corresponding to the second image data;
and responding to the drawing instruction, and drawing the second image data on the target canvas by using the drawing parameters.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1 to 5 when executing the program.
CN201811161928.2A 2018-09-30 2018-09-30 Animation generation method and device and electronic equipment Pending CN110969683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811161928.2A CN110969683A (en) 2018-09-30 2018-09-30 Animation generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811161928.2A CN110969683A (en) 2018-09-30 2018-09-30 Animation generation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110969683A true CN110969683A (en) 2020-04-07

Family

ID=70029331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811161928.2A Pending CN110969683A (en) 2018-09-30 2018-09-30 Animation generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110969683A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013041568A (en) * 2011-08-17 2013-02-28 Square Enix Holdings Co Ltd Animation distribution server, animation reproduction device, control method, program, and recording medium
CN103606179A (en) * 2013-12-02 2014-02-26 珠海金山办公软件有限公司 Animation image display method and device
CN107015788A (en) * 2016-10-19 2017-08-04 阿里巴巴集团控股有限公司 Animation shows the method and apparatus of image on the mobile apparatus
CN108133506A (en) * 2016-12-01 2018-06-08 阿里巴巴集团控股有限公司 Realize the method, apparatus and system of lines dynamic effect
CN108242070A (en) * 2017-10-09 2018-07-03 北京车和家信息技术有限公司 A kind of image drawing method, image plotting device and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013041568A (en) * 2011-08-17 2013-02-28 Square Enix Holdings Co Ltd Animation distribution server, animation reproduction device, control method, program, and recording medium
CN103606179A (en) * 2013-12-02 2014-02-26 珠海金山办公软件有限公司 Animation image display method and device
CN107015788A (en) * 2016-10-19 2017-08-04 阿里巴巴集团控股有限公司 Animation shows the method and apparatus of image on the mobile apparatus
CN108133506A (en) * 2016-12-01 2018-06-08 阿里巴巴集团控股有限公司 Realize the method, apparatus and system of lines dynamic effect
CN108242070A (en) * 2017-10-09 2018-07-03 北京车和家信息技术有限公司 A kind of image drawing method, image plotting device and computer equipment

Similar Documents

Publication Publication Date Title
CN108010112B (en) Animation processing method, device and storage medium
US9064313B2 (en) Adaptive tone map to a region of interest to yield a low dynamic range image
US8619083B2 (en) Multi-layer image composition with intermediate blending resolutions
CN113225427B (en) Image display method and terminal equipment
US10928897B2 (en) Foveated rendering
US11551392B2 (en) Graphic drawing method and apparatus, device, and storage medium
JP2019512749A (en) Application program processing method and terminal device
DE202017007296U1 (en) An electronic device comprising a curved display area
CN108846791B (en) Rendering method and device of physical model and electronic equipment
CN114115525B (en) Information display method, device, equipment and storage medium
CN111951356B (en) Animation rendering method based on JSON data format
CN109065001B (en) Image down-sampling method and device, terminal equipment and medium
CN105868246A (en) Picture display method and apparatus
CN110879739A (en) Display method and display device of notification bar
CN107943805A (en) A kind of animation renders and dissemination method, device
JP2021518959A (en) Information processing methods and devices, storage media and electronic devices
US11451721B2 (en) Interactive augmented reality (AR) based video creation from existing video
CN112686939A (en) Depth image rendering method, device and equipment and computer readable storage medium
CN109859328B (en) Scene switching method, device, equipment and medium
CN110969683A (en) Animation generation method and device and electronic equipment
CN115576470A (en) Image processing method and apparatus, augmented reality system, and medium
CN111913711B (en) Video rendering method and device
CN113902639A (en) Image processing method, image processing device, electronic equipment and storage medium
EP4248365A1 (en) Gating of contextual attention and convolutional features
US20160284050A1 (en) Display apparatus and display method thereof

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

Application publication date: 20200407

RJ01 Rejection of invention patent application after publication