Image replacement method, device and equipment

A technology in images and images, applied in the field of the Internet, can solve the problems such as the “slimming” effect is not obvious and the image quality is affected.

Active Publication Date: 2020-02-28
ALIBABA GRP HLDG LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But using this method, the "slimming" effect of the application installa

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 replacement method, device and equipment
  • Image replacement method, device and equipment
  • Image replacement method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0026] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the conte...

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 embodiment of the invention provides an image replacement method, a device and equipment, and the method comprises the steps: obtaining an image in an application program, and determining the number of color types contained in the image according to the similarity between the color attributes of all pixels in the image; and if the number of the color types is smaller than or equal to the preset number, generating a font corresponding to the image, and finally replacing the image with the font corresponding to the image. Since each font and the image corresponding to the font contain the completely same image information, the quality of the image is not affected after replacement. Meanwhile, the storage space occupied by the font is smaller than the storage space occupied by the image corresponding to the font, so that the effect of greatly reducing the size of the application program installation package while ensuring the image quality can be achieved by replacing the image in theapplication program with the font corresponding to the image.

Description

technical field [0001] The present invention relates to the field of the Internet, in particular to an image replacement method, device and equipment. Background technique [0002] In order to meet the daily needs of users, users generally install various application programs (Apps) in terminal devices such as smart phones, such as some shopping apps, some entertainment apps, and the like. [0003] In order to meet the various needs of users and improve user experience, various apps often provide various functions, and many picture elements may be used to realize these functions. Generally speaking, the storage space occupied by pictures is often relatively large, which also As a result, the data volume of the App installation package will be very large, which will take up a lot of storage space of the terminal device. [0004] In the prior art, the size of the App installation package is usually reduced by reducing the size of each picture in the App. But using this metho...

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
IPC IPC(8): G06F8/61G06T7/90G06T11/00
CPCG06F8/61G06T7/90G06T11/001
Inventor 刘力
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products