Texture compression file generation method

A technology for compressing files and textures, applied in image data processing, instruments, computing, etc., to achieve the effect of improving popularity

Inactive Publication Date: 2016-12-07
SHENZHEN IDREAMSKY TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there is no texture compression technology that supports transparent channels that can be widely used in mobile devices such as mobile phon

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
  • Texture compression file generation method
  • Texture compression file generation method
  • Texture compression file generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0033] In one example, please refer to figure 1 , specifically, the method and device for generating the texture compressed file, including:

[0034] Step 110, acquiring image data to be compressed.

[0035] The image data to be compressed includes the image, the image format identifier bundled with the image, the copyright of the image, the author of the image, the resolution of the image, the he...

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 a texture compression file generation method and device. The method comprises the steps of obtaining to-be-compressed image data; generating a header file with an identification function according to input target resolution and to-be-compressed image data; extracting color pixels and transparent channels of images in the to-be-compressed image data and separating the color pixels and the transparent channels; adjusting the transparent channels according to the target resolution; carrying out texture compression on the adjusted transparent channels and the color pixels; and packaging the compressed transparent channels, the compressed color pixels and the header file. According to the method, a texture compression rate is improved, an occupation rate of a memory is greatly reduced; and the method can be universally applied to all devices in support of OPENGL ES 2.0 and is high in applicability.

Description

technical field [0001] The disclosure is used for image data processing, in particular, a texture compression file generation method for image data processing. Background technique [0002] With the advancement of technology, mobile phones have more and more functions when they become one of people's indispensable daily necessities, for example, playing games on the mobile phones. [0003] If you want to realize similar functions such as playing games on your mobile phone, graphics hardware such as a GPU, that is, a graphics card, is an indispensable hardware device for supporting functions such as games. The GPU can process the texture in the image. A texture is an array of one-, two-, or multi-dimensional data items used in computing the color or appearance of a fragment resulting from the rasterization of an image frame. Textures can be image data (photographic or computer generated), color or transparency data, roughness / smoothness data, albedo data, and more. Deliver...

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): G06T9/00
CPCG06T9/00
Inventor 连冠荣
Owner SHENZHEN IDREAMSKY TECH
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