Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image processing method, device, server and client

An image processing and client-side technology, applied in the computer field, can solve the problems of resource redundancy, slow loading speed, and larger installation package size, and achieve the effect of high rendering efficiency, fast loading speed, and reduced size

Active Publication Date: 2021-02-26
上海灵犀互动娱乐有限公司
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, with the continuous development of its own business, the content of mobile applications is constantly enriched, and the local image resources used will continue to increase, which will eventually lead to larger installation packages, increased memory usage, and slower page loading speeds. Although some open source images are optimized The memory management of pictures is improved, but some local pictures are not essentially optimized, and multi-resolution adaptation is also considered for local pictures of Android. If you want to achieve the highest resolution with the smallest memory on models with various resolutions High resolution pictures, then you need multiple resolution pictures, which will cause resource redundancy, and SVG (ScalableVector Graphics, scalable vector graphics) vector graphics can solve these problems
[0003] But at present, the disadvantages of Android using SVG vector graphics are mainly slow loading speed and low rendering efficiency of complex pictures. Extensible Markup Language) files, when parsing, you need to traverse the tree structure of xml to parse the corresponding information, and you also need to allocate corresponding memory to cache these information. This process is several times slower than the parsing of raster images. In addition, on Android There is a special raster image of nine images, but the SVG protocol itself does not have the concept of nine images

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 processing method, device, server and client
  • Image processing method, device, server and client
  • Image processing method, device, server and client

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0050] Please refer to Figure 4 , Figure 4 It shows a flow chart of the image processing method provided by the embodiment of the present invention when it is applied to the server 100 and the client 200 that are connected to each other by communication. The image processing method includes the following steps:

[0051] Step S101, acquiring a first image file of the client, wherein the first image file is an image file based on a markup language.

[0052] In the embodiment of the present invention, the first picture file may be pre-stored in the raw directory of the application program 400 installed on the client 200, which is the picture file of the application program 400 itself, that is, the interface loading required by the application program 400 when it is running. Picture, the server 100 can directly obtain the first picture file under the raw directory through the network 300, the first picture file can be, but not limited to, pictures based on XML, HTML (Hyper Tex...

no. 2 example

[0126] Please refer to Figure 11 , Figure 11 A schematic block diagram of a first image processing apparatus 110 provided by an embodiment of the present invention is shown. The first image processing device 110 includes an image acquisition module 111 and a file conversion module 112 .

[0127] The image acquisition module 111 is configured to acquire a first image file of the client, wherein the first image file is an image file based on a markup language.

[0128] In the embodiment of the present invention, the picture acquiring module 111 may be used to execute step S101.

[0129] A file conversion module 112, configured to convert the first picture file into a rendering code file, so as to render and draw the rendering code file to obtain a second picture file when the rendering code file is run on the client, wherein the rendering code file is composed of non-labeled language composition.

[0130] In the embodiment of the present invention, the file conversion modu...

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 relates to the technical field of computers and provides a picture processing method and apparatus, a server and a client. The server obtains a first picture file of the client and converts the first picture file into a rendering code file; and the client downloads the rendering code file from the server, runs the rendering code file in response to user operation, and performing rendering drawing on the rendering code file to obtain a second picture file. Compared with an existing grid map, the memory occupation can be effectively reduced and picture amplification is distortionless; and compared with an existing mode of analyzing SVG picture file information by traversing an XML tree structure, the method and the apparatus have the advantages that the loading speed is high, a rendering command can be locally modified, a nine-zone graph is supported and the complex picture rendering efficiency is high.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular, to an image processing method, device, server and client. Background technique [0002] At present, with the continuous development of its own business, the content of mobile applications is constantly enriched, and the local image resources used will continue to increase, which will eventually lead to larger installation packages, increased memory usage, and slower page loading speeds. Although some open source images are optimized The memory management of pictures is improved, but some local pictures are not essentially optimized, and multi-resolution adaptation is also considered for local pictures of Android. If you want to achieve the highest resolution with the smallest memory on models with various resolutions High-resolution pictures, then you need multiple high-resolution pictures, which will cause resource redundancy, and SVG (Scalable Vector Graphics, scalable ...

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): G06F40/151G06F16/958G06F16/957
CPCG06F16/9574G06F16/958G06F40/151
Inventor 陈锦庆
Owner 上海灵犀互动娱乐有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products