Unlock instant, AI-driven research and patent intelligence for your innovation.

Image rendering method and device

An image rendering and image frame technology, applied in the field of image processing, can solve problems such as large delays, achieve the effect of improving display speed and reducing rendering times

Active Publication Date: 2021-03-09
BEIJING FEINNO COMM TECH
View PDF17 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Some GIF images may contain hundreds of frames. Decoding all the image frames in the GIF image in advance will cause a large delay

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image rendering method and device
  • Image rendering method and device
  • Image rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0048] The same UI (User Interface, user interface) may contain multiple types of views (View). In the field of programming, a view can be understood as a code logic for displaying UI elements. For example, content view (ContentView), collection view (Collection View), picture view (Image View), map view (MapView), scroll view (Scroll View), text view (Text View) and so on. Views used to display GIF images are picture views.

[0049] like figure 1 As shown in , a UI10 is displayed on the screen of the mobile terminal. Schematically, the UI 10 includes: a view for displaying the GIF image 12 and a view for displaying the GIF image 14 .

[0050] When the UI 10 is swiped up and down, the GIF image 12 or the GIF image 14 may be moved o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an image rendering method and device, belonging to the field of image processing. The method includes: receiving a screen refresh notification through a main thread, the screen refresh notification carrying a first time stamp; passing the screen refresh notification to a rendering object that is focused on by a view located in a user interface UI through the main thread In; detecting whether the first timestamp is later than or equal to the second timestamp corresponding to the current image frame by the sub-thread; when the first timestamp is later than or equal to the second timestamp , rendering the next image frame of the current image frame. The present invention solves the problem of large delay caused by pre-decoding all image frames in the prior art; when the first time stamp is later than or equal to the second time stamp, the next image frame will continue to be rendered, The main thread will not cause a large delay, reducing unnecessary rendering times and improving the display speed of the UI.

Description

technical field [0001] Embodiments of the present invention relate to the field of image processing, and in particular to an image rendering method and device. Background technique [0002] A GIF (Graphics Interchange Format, Image Interchange Format) image is a dynamic image, and a GIF image may be composed of multiple frames of images. Under the control of the timer, the GIF image produces an animation effect by displaying each frame of image in sequence. [0003] Since many animated emoticons are GIF images, the instant messaging program needs to support the rendering of GIF images. A kind of image rendering method suitable for IOS (apple mobile operating system) in the prior art, comprises: when there is GIF image in view, adopt the method of UIImageView that operating system provides, decode all frame images in GIF image in advance , and save the decoded frames of images in an array; set a uniform interval time t, and the UIImageView will automatically render and disp...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T1/20G06T15/00
CPCG06T1/20G06T15/005
Inventor 宋昊文
Owner BEIJING FEINNO COMM TECH