Supercharge Your Innovation With Domain-Expert AI Agents!

Conversion method between files in different types

A conversion method and file technology, applied in electrical components, image data processing, television, etc., can solve the problem of loss of transparent color information and achieve good animation display effect

Active Publication Date: 2009-01-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of this, the purpose of the present invention is to provide a conversion method between different types of files, by which the transparent color information of the file to be converted can be obtained and converted into the corresponding file, thereby solving the problem of conversion in the prior art. The problem that the information of the back transparent color is lost

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
  • Conversion method between files in different types

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] The present invention explains the transparent color conversion by taking the conversion of a GIF file into a SWF file as an example. In the process of converting a GIF file into a SWF file, in addition to converting the bitmap information of each frame, it is also necessary to convert the palette of each frame. In the prior art, because the GIF file and the SWF file have different processing methods for the transparent color, the converted SWF file will lose the transparent color information in the original GIF file. The present invention converts the transparent color through the following technical processing.

[0027] For the convenience of description, a list of GifPalette[i].r, GifPalette[i].g and GifPalette[i].b is established for each color of a palette in a frame in a GIF file, to use R, G, B value to represent each c...

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 method comprises: deciding if the color palette of current frame of the file to be converted has transparent color; if yes, copying the current frame of the file to be converted to its corresponding frame; and meanwhile, to correspond to the transparent color in the color palette of current frame of the file to be converted, the corresponding color in the color palette of the corresponding frame of the file to be converted is set to transparent color; otherwise, copying the current frame of the file to be converted to the corresponding frame of the file to be converted. The method can ensure the transparent color information will not be lost in the converted file.

Description

technical field [0001] The invention relates to computer animation production technology, in particular to a conversion method between different types of files. Background technique [0002] In early computer animation production, Graphics Interchange Format (GIF, Graphics InterchangeFormat) files were the main form of implementation. Today, with the rapid development of the Internet, Flash technology has gradually replaced GIF format files and has become the most powerful tool for making web multimedia animations. Flash is a multimedia animation production software launched by MACROMEDIA Company of the United States. It is an interactive animation design tool, which can easily integrate music, sound effects, and animation to produce high-quality animation effects. [0003] Flash technology can be used to produce an animation with a suffix of SWF (Shockwave Format). The animation image in this format can express rich multimedia forms with a relatively small volume. In ter...

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): H04N7/26G06T13/00
Inventor 刘奇勇王麒
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More