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

Method and device for exporting vector graphics in swf file format from swf files

A file format and technology of vector graphics, applied in the field of vector graphics, can solve problems such as poor compatibility of svg pictures, inability to open svg pictures with software, inconvenient viewing for users, etc., and achieve the effect of improving user experience

Active Publication Date: 2016-01-20
4399 NETWORK
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, after a specific object is extracted from the entire game screen, it is directly converted into an svg image format. Due to the poor compatibility of the svg image, many software cannot open the svg image, which makes it inconvenient for users to view the Flash game screen. a specific object in

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
  • Method and device for exporting vector graphics in swf file format from swf files
  • Method and device for exporting vector graphics in swf file format from swf files
  • Method and device for exporting vector graphics in swf file format from swf files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Below in conjunction with accompanying drawing, the method for the vector diagram that the present invention provides from swf file derivation swf file format is introduced in detail:

[0035] Such as figure 1 As shown, the method provided by the present invention derives the vector map of swf file format from swf file, comprises the following steps:

[0036] S1. Read and parse the original swf file to obtain the original file header information, original file attribute label information, at least one original vector image label information, original object placement label information, original display frame label information and original end of the original swf file. Label Information.

[0037] The original swf file usually contains multiple vector graphics, and each vector graphics uniquely corresponds to a vector graphics label. When parsing the original swf file, all vector graphics tags can be parsed according to actual needs, and then for each vector graphics ta...

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 provides a method and a device for guiding out a vector diagram in an swf file format from an swf file. The method comprises the steps as follows: obtaining an original stage width value and an original stage height value by analyzing original file header information; respectively calculating the width value of an original vector diagram and the height value of the original vector diagram according to a preset algorithm, and obtaining the calculated width value of the vector diagram and the calculated height value of the vector diagram; replacing the original stage width value with the calculated width value of the vector diagram; replacing the original stage height value with the calculated height value of the vector diagram, and obtaining new file header information, so as to guide out the vector diagram in the swf file format. By adopting the simple method, a specific object in a Flash game picture can be extracted, and the extracted specific object is the swf file format, so that a user can conveniently examine the specific object in the Flash game picture, and the use experience of the user is improved.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a method and a device for deriving a vector diagram in a swf file format from a swf file. Background technique [0002] Flash game is a new game form in recent years. It is gradually loved by netizens because of its advantages such as simple game, convenient operation, green color, no need for installation and small file size. [0003] Flash games also have a prominent feature: each game screen that appears in the Flash game is very beautiful and vivid, with strong visual effects, especially for a specific object that appears in a single game screen, game players usually have the need to obtain the specific object , so that it is convenient for the game player to edit or perform other operations on that specific object. For example, if a game screen is: a brown bear and a white bear running in the grass, the brown bear can be used as a specific object, and the pict...

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): G06F17/30
Inventor 张魁
Owner 4399 NETWORK