CN103455967A - Picture special effect on-line processing method - Google Patents

Picture special effect on-line processing method Download PDF

Info

Publication number
CN103455967A
CN103455967A CN2013102332312A CN201310233231A CN103455967A CN 103455967 A CN103455967 A CN 103455967A CN 2013102332312 A CN2013102332312 A CN 2013102332312A CN 201310233231 A CN201310233231 A CN 201310233231A CN 103455967 A CN103455967 A CN 103455967A
Authority
CN
China
Prior art keywords
configuration file
data
special efficacy
linearize
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013102332312A
Other languages
Chinese (zh)
Inventor
张伟
傅松林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XIAMEN MEITUWANG TECHNOLOGY Co Ltd
Original Assignee
XIAMEN MEITUWANG TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XIAMEN MEITUWANG TECHNOLOGY Co Ltd filed Critical XIAMEN MEITUWANG TECHNOLOGY Co Ltd
Priority to CN2013102332312A priority Critical patent/CN103455967A/en
Publication of CN103455967A publication Critical patent/CN103455967A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a picture special effect on-line processing method. A special-effect template is stored in a non-local in the form of a configuration file. After a local client terminal obtains the configuration file, the configuration file is utilized for carrying out special effect generation on picture data. According to the picture special effect on-line processing method, the configuration file of the special-effect template is generated on line in advance, the configuration file is stored in the non-local (such as a network client terminal or a portable mobile storage device), and when needing a new special effect, a third-party client terminal only needs to download the configuration file.

Description

A kind of special effect of picture is in the linearize disposal route
Technical field
The present invention relates to the solution of special efficacy in linearize, more particularly, relate to a kind of special effect of picture in the linearize disposal route.
Background technology
Picture processing client in the market all adopts the built-in form of local client picture being carried out to the special efficacy operation, when adding new special efficacy or optimize former specific the time for software, just must first issue redaction, and then allow the user upgrade this version, enrich the kind of special efficacy and improve former specific effect with this.And this use of with regard to the version that needs the user to go constantly to upgrade local client, obtaining how new special efficacy.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, provide a kind of and do not carry out software upgrading frequently and install, solve the increase of special efficacy of local client and diversified special effect of picture in the linearize disposal route.
Technical scheme of the present invention is as follows:
A kind of special effect of picture is in the linearize disposal route, the special efficacy template is kept at non-local with the form of configuration file, after local client obtains configuration file, with configuration file, image data carried out to the special efficacy generation.
As preferably, configured the step of the special efficacy that realizes that current configuration file is corresponding in configuration file, carry out successively institute in steps, read successively data layout corresponding to each step, complete image data is carried out to the special efficacy generation.
As preferably, configuration file is presented as with the false code form:
The sum of the image data that this special efficacy needs, the step sum of this special efficacy
For(int i=0; I<step sum; I++)
The type of this step
Read corresponding data layout according to the type of this step:
Class1, establishment and processing figure data of a size: data number, port number;
Type 2, create and to scheme data of a size with processing, and copy the data of all passages: the data number of target is replicated the data number of object;
Type 3, create and to scheme data of a size with processing, and copy the data of red channel or green channel or blue channel or gray scale passage: the data number of target is replicated the data number of object;
Type 4, load document stream create new data: data number, the length of document flow, the data of document flow;
Type 5, load document stream create new data convergent-divergent size the same as processing figure: data number, the length of document flow, the data of document flow;
Type 6, release image data: data number;
Type 7: mapping algorithm: the numbering of target data, the numbering of source data, the numbering of Mapping data;
Type 8: mixed mode algorithm: the numbering of target data, the numbering of lower layer data, the numbering of upper layer data, the numbering of mixed mode data.
As preferably, in the code of configuration file, also stated the version number of configuration file, after client executing is obtained configuration file, when image data is carried out to the special efficacy generation, client judges the version number that whether supports obtained configuration file of local client, if support, carries out the special efficacy generation and processes; If do not support, do not carry out the special efficacy generation and process, wait for the client upgrading.
As preferably, the filename naming rule of configuration file is: " special efficacy numbering "+". special efficacy version number "+". suffix ".
As preferably, the initial version of configuration file number is 1, upgrades and once automatically adds 1.
As preferably, after client executing is obtained configuration file, when image data is carried out to the special efficacy generation, client judges whether the version number of the configuration file of local client support is greater than the version number of obtained configuration file, if be not less than, carry out the special efficacy generation and process; If be less than, do not carry out the special efficacy generation and process, wait for the client upgrading.
As preferably, the step of obtaining configuration file is specially: whether the configuration file that the local client judgement is about to obtain exists, if exist, judges whether this configuration file needs to upgrade, if need to upgrade, upgrades this configuration file; If there is no, download this configuration file.
As preferably, after the configuration file renewal of Gong obtaining, be saved to the webserver, for local client, obtain.
As preferably, the pattern based on C/S, described method step is as follows:
1) be created on the configuration file of linearize special efficacy, be stored in the webserver;
2) local client is downloaded for configuration file;
3) local client utilizes step 2) configuration file that obtains processed image data, generates the special efficacy of this configuration file definition.
Beneficial effect of the present invention is as follows:
Method of the present invention, the configuration file of the special efficacy template by being created in advance linearize, then configuration file is kept at non-local (as network service end, or the movable storage device of carrying), when third party's client needs new special efficacy, only needing to download this configuration file can use.
The renewal that its essence is special efficacy is not by more the newly arriving and obtain of software with optimizing, but obtain by the interpolation of the template configuration of the special efficacy in linearize file non-indigenous.By inventing described method, the special efficacy of local client no longer is limited to its limited quantity and single effect, can be arbitrarily the time to the network service end request and increase new special efficacy and upgrade original special efficacy, even can, by the special efficacy mobile, carry.Utilize the advantage of network service end can increase very easily and access the new special efficacy and the original special efficacy of optimization that can use, the number of special efficacy is limited by the version of software client no longer, the user obtained more special efficacy and more beautiful effect originally without upgrading new edition, had met greatly user's demand and the convenience of use.By the special efficacy mobile, carry, can be in the use special efficacy Anywhere of needs, and can be in the situation that do not have network to realize the renewal of special efficacy.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail.
A kind of special effect of picture is in the linearize disposal route, the special efficacy template is kept at non-local with the form of configuration file, after local client obtains configuration file, with configuration file, image data carried out to the special efficacy generation.
The step of obtaining configuration file is specially: whether the configuration file that the local client judgement is about to obtain exists, if exist, judges whether this configuration file needs to upgrade, if need to upgrade, upgrades this configuration file; If there is no, download this configuration file.
Configured the step of the special efficacy that realizes that current configuration file is corresponding in configuration file, carried out successively institute in steps, read successively data layout corresponding to each step, completed image data is carried out to the special efficacy generation.
Configuration file is presented as with the false code form:
The sum of the image data that this special efficacy needs, the step sum of this special efficacy
For(int i=0; I<step sum; I++)
The type of this step
Read corresponding data layout according to the type of this step:
Class1, establishment and processing figure data of a size: data number, port number;
Type 2, create and to scheme data of a size with processing, and copy the data of all passages: the data number of target is replicated the data number of object;
Type 3, create and to scheme data of a size with processing, and copy the data of red channel or green channel or blue channel or gray scale passage: the data number of target is replicated the data number of object;
Type 4, load document stream create new data: data number, the length of document flow, the data of document flow;
Type 5, load document stream create new data convergent-divergent size the same as processing figure: data number, the length of document flow, the data of document flow;
Type 6, release image data: data number;
Type 7: mapping algorithm: the numbering of target data, the numbering of source data, the numbering of Mapping data;
Type 8: mixed mode algorithm: the numbering of target data, the numbering of lower layer data, the numbering of upper layer data, the numbering of mixed mode data.
In the code of configuration file, also stated the version number of configuration file, after client executing is obtained configuration file, when image data is carried out to the special efficacy generation, client judges the version number that whether supports obtained configuration file of local client, if support, carry out the special efficacy generation and process; If do not support, do not carry out the special efficacy generation and process, wait for the client upgrading.
Need to be upgraded for the ease of judging whether, be the invention provides a kind of filename naming rule, conveniently be realized that the judgement of local client is carried out.
The filename naming rule of configuration file is: " special efficacy numbering "+". special efficacy version number "+". suffix ".The initial version of configuration file number is 1, upgrades and once automatically adds 1.
After local client is carried out and is obtained configuration file, when image data is carried out to the special efficacy generation, client judges whether the version number of the configuration file of local client support is greater than the version number of obtained configuration file, if be not less than, carry out the special efficacy generation and processes; If be less than, do not carry out the special efficacy generation and process, wait for the client upgrading.
Embodiment
It is example that the present embodiment be take the pattern of C/S.
Pattern based on C/S, method step of the present invention is as follows:
1) be created on the configuration file of the special efficacy template of linearize, be stored in the webserver;
2) local client is downloaded for configuration file;
3) local client utilizes step 2) configuration file that obtains processed image data, generates the special efficacy of this configuration file definition.
The configuration file that Gong obtains is saved to the webserver after upgrading, and for local client, obtains.
The configuration file in linearize in step 1) is presented as with the false code form:
At the sum (4 bytes, int type) of version number's (4 bytes, int type) of the configuration file of the special efficacy template of linearize, image data that this special efficacy needs, the step sum (4 bytes, int type) of this special efficacy
For(int i=0; I<step sum; I++)
The type of this step (4 bytes, int type)
Read corresponding data layout (including but not limited to Types Below) according to the type of this step:
Class1, establishment and processing figure data of a size: data number (4 bytes, int type), port number (4 bytes, int type);
Type 2, create and to scheme data of a size with processing, and copy the data of all passages: the data number of target (4 bytes, int type) is replicated the data number (4 bytes, int type) of object;
Type 3, establishment and processing figure data of a size, and copy the data of red channel (or green channel, blue channel, gray scale passage): the data number of target (4 bytes, the int type), be replicated the data number (4 bytes, int type) of object;
Type 4, load document stream create new data: data number (4 bytes, int type), the length of document flow (4 bytes, int type), the data of document flow (byte that the document flow length scale is individual);
Type 5, load document stream create new data convergent-divergent size the same as processing figure: data number (4 bytes, int type), the length of document flow (4 bytes, int type), the data of document flow (byte that the document flow length scale is individual);
Type 6, release image data: data number (4 bytes, int type);
Type 7: mapping algorithm: the numbering of target data (4 bytes, int type), the numbering of source data (4 bytes, int type), the numbering of Mapping data;
Type 8: mixed mode algorithm: the numbering of target data (4 bytes, int type), the numbering of lower layer data (4 bytes, the int type), the numbering of upper layer data (4 bytes, int type), the numbering of mixed mode data (4 bytes, int type);
Etc..
The upgrading meeting of local client constantly increases the type of enriching step, with this, meets expansion and the diversity of special efficacy.
Step 2) download in is as follows in the step of the configuration file of linearize:
2.1) client judges whether this configuration file exists, if exist judge whether this configuration file needs to upgrade, if need, upgrade carry out step 1.2); If there is no, carry out step 1.3);
2.2) point out the user can upgrade the configuration file of this special efficacy;
2.3) point out the user can download this configuration file; The user can button click downloads the configuration file of this special efficacy.
The filename naming rule of the configuration file in linearize of preserving in network service end is: " the special efficacy numbering+. special efficacy version number+. suffix ".The initial special efficacy version number of each special efficacy is 1, upgrades and once automatically adds 1, by that analogy.
Client in step 3) is utilized step 2) configuration file when image data is processed, client need to judge whether the version number of the configuration file support of local client is greater than the version number of this configuration file, if be less than, point out the user to upgrade and just can use the configuration file of this special efficacy.
Above-described embodiment is only for the present invention is described, and not as limitation of the invention.So long as according to technical spirit of the present invention, to above-described embodiment changed, modification etc. all will drop in the scope of claim of the present invention.

Claims (10)

1. a special effect of picture, in the linearize disposal route, is characterized in that, the special efficacy template is kept at non-local with the form of configuration file, after local client obtains configuration file, with configuration file, image data is carried out to the special efficacy generation.
2. special effect of picture according to claim 1 is in the linearize disposal route, it is characterized in that, configured the step of the special efficacy that realizes that current configuration file is corresponding in configuration file, carry out successively institute in steps, read successively data layout corresponding to each step, complete image data is carried out to the special efficacy generation.
3. special effect of picture according to claim 2, in the linearize disposal route, is characterized in that, configuration file is presented as with the false code form:
The sum of the image data that this special efficacy needs, the step sum of this special efficacy
For(int i=0; I<step sum; I++)
The type of this step
Read corresponding data layout according to the type of this step:
Class1, establishment and processing figure data of a size: data number, port number;
Type 2, create and to scheme data of a size with processing, and copy the data of all passages: the data number of target is replicated the data number of object;
Type 3, create and to scheme data of a size with processing, and copy the data of red channel or blue channel or green channel: the data number of target is replicated the data number of object;
Type 4, load document stream create new data: data number, the length of document flow, the data of document flow;
Type 5, load document stream create new data convergent-divergent size the same as processing figure: data number, the length of document flow, the data of document flow;
Type 6, release image data: data number;
Type 7: mapping algorithm: the numbering of target data, the numbering of source data, the numbering of Mapping data;
Type 8: mixed mode algorithm: the numbering of target data, the numbering of lower layer data, the numbering of upper layer data, the numbering of mixed mode data.
4. special effect of picture according to claim 1 is in the linearize disposal route, it is characterized in that, in the code of configuration file, also stated the version number of configuration file, after client executing is obtained configuration file, when image data is carried out to the special efficacy generation, client judges the version number that whether supports obtained configuration file of local client, if support, carry out the special efficacy generation and process; If do not support, do not carry out the special efficacy generation and process, wait for the client upgrading.
5. special effect of picture according to claim 4, in the linearize disposal route, is characterized in that, the filename naming rule of configuration file is: " special efficacy numbering "+". special efficacy version number "+". suffix ".
6. special effect of picture according to claim 5, in the linearize disposal route, is characterized in that, the initial version of configuration file number is 1, upgrades and once automatically adds 1.
7. special effect of picture according to claim 6 is in the linearize disposal route, it is characterized in that, after client executing is obtained configuration file, when image data is carried out to the special efficacy generation, client judges whether the version number of the configuration file of local client support is greater than the version number of obtained configuration file, if be not less than, carry out the special efficacy generation and process; If be less than, do not carry out the special efficacy generation and process, wait for the client upgrading.
8. special effect of picture according to claim 1 is in the linearize disposal route, it is characterized in that, the step of obtaining configuration file is specially: whether the configuration file that the local client judgement is about to obtain exists, if exist, judge whether this configuration file needs to upgrade, if need to upgrade, upgrade this configuration file; If there is no, download this configuration file.
9. special effect of picture according to claim 1, in the linearize disposal route, is characterized in that, the configuration file that Gong obtains is saved to the webserver after upgrading, and for local client, obtains.
10. special effect of picture according to claim 9, in the linearize disposal route, is characterized in that, the pattern based on C/S, and described method step is as follows:
1) be created on the configuration file of linearize special efficacy, be stored in the webserver;
2) local client is downloaded for configuration file;
3) local client utilizes step 2) configuration file that obtains processed image data, generates the special efficacy of this configuration file definition.
CN2013102332312A 2013-06-09 2013-06-09 Picture special effect on-line processing method Pending CN103455967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102332312A CN103455967A (en) 2013-06-09 2013-06-09 Picture special effect on-line processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102332312A CN103455967A (en) 2013-06-09 2013-06-09 Picture special effect on-line processing method

Publications (1)

Publication Number Publication Date
CN103455967A true CN103455967A (en) 2013-12-18

Family

ID=49738300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102332312A Pending CN103455967A (en) 2013-06-09 2013-06-09 Picture special effect on-line processing method

Country Status (1)

Country Link
CN (1) CN103455967A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168417A (en) * 2014-05-20 2014-11-26 腾讯科技(深圳)有限公司 Picture processing method and device
CN105068822A (en) * 2015-07-09 2015-11-18 厦门美图网科技有限公司 Real time filter online configuration method, system and shooting terminal
CN105094563A (en) * 2015-08-11 2015-11-25 成都视达科信息技术有限公司 Image clipping method and system
WO2016110204A1 (en) * 2015-01-07 2016-07-14 阿里巴巴集团控股有限公司 Processing of process object, and method and device for generating plug-in
CN109101496A (en) * 2018-06-13 2018-12-28 广州市信景技术有限公司 A kind of traditional font of graph text information and simplified interpretation method
CN109254775A (en) * 2018-08-30 2019-01-22 广州酷狗计算机科技有限公司 Image processing method, terminal and storage medium based on face

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436306A (en) * 2008-12-19 2009-05-20 北京中星微电子有限公司 Method, apparatus and video display card for implementing image special effect
US20100080528A1 (en) * 2008-09-22 2010-04-01 Ed Yen Online video and audio editing
CN102129378A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Software menu updating method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100080528A1 (en) * 2008-09-22 2010-04-01 Ed Yen Online video and audio editing
CN101436306A (en) * 2008-12-19 2009-05-20 北京中星微电子有限公司 Method, apparatus and video display card for implementing image special effect
CN102129378A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Software menu updating method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168417A (en) * 2014-05-20 2014-11-26 腾讯科技(深圳)有限公司 Picture processing method and device
WO2016110204A1 (en) * 2015-01-07 2016-07-14 阿里巴巴集团控股有限公司 Processing of process object, and method and device for generating plug-in
CN105824608A (en) * 2015-01-07 2016-08-03 阿里巴巴集团控股有限公司 Processing method and apparatus of processing object, and plug-in generation method and apparatus
CN105824608B (en) * 2015-01-07 2019-06-28 阿里巴巴集团控股有限公司 Processing, plug-in unit generation method and the device of process object
CN105068822A (en) * 2015-07-09 2015-11-18 厦门美图网科技有限公司 Real time filter online configuration method, system and shooting terminal
CN105094563A (en) * 2015-08-11 2015-11-25 成都视达科信息技术有限公司 Image clipping method and system
CN105094563B (en) * 2015-08-11 2018-05-18 成都视达科信息技术有限公司 A kind of picture method of cutting out and cutting system
CN109101496A (en) * 2018-06-13 2018-12-28 广州市信景技术有限公司 A kind of traditional font of graph text information and simplified interpretation method
CN109254775A (en) * 2018-08-30 2019-01-22 广州酷狗计算机科技有限公司 Image processing method, terminal and storage medium based on face

Similar Documents

Publication Publication Date Title
CN103455967A (en) Picture special effect on-line processing method
CN107784086B (en) Webpage loading method, terminal equipment and computer readable storage medium
US8365153B2 (en) Server-based code compilation
WO2019114129A1 (en) Scheduling device and method for push server and computer-readable storage medium
CN103402194B (en) A kind of method recommending software when software upgrading and realize the system of the method
CN102595208B (en) Cloud terminal control networking video image processing streaming media service system and method
JP6274584B2 (en) Advertisement processing method and apparatus
RU2010111569A (en) CREATION AND DEPLOYMENT OF DISTRIBUTED DISTRIBUTED EXTENDED APPLICATIONS
ATE495611T1 (en) METHOD FOR TRANSCODING CONTENT, TRANSCODER UNIT AND UPNP NETWORK SYSTEM
CN103491169A (en) Method and system for uploading and downloading files
CN106598678A (en) Method and device for supplying application installation packages to terminal equipment
CN102662374A (en) Home furnishing control system and method based on real-scene interface
CN103901863A (en) Intelligent home control system and method based on live-action control interface
CN108334364A (en) It is a kind of that dynamic load is realized based on Lottie and updates the method and its system of animation
CN104010045B (en) The method that mobile node based on cloud platform performs task
CN104834649A (en) Intelligent equipment capable of realizing multi-equipment synergy and multi-equipment synergy working method
CN102148839B (en) Method, device and system for managing FTP (file transfer protocol) server
WO2018133500A1 (en) Push system and method utilized in remote application and based on wechat subscription number
CN100574439C (en) Realize the system and method that third party&#39;s audio-video frequency content is uploaded in the IPTV system
US20170168796A1 (en) Method and electronic apparatus for transferring application program from pc to mobile apparatus
JP7257554B2 (en) Model file distribution method, platform, system, terminal and readable storage medium
WO2015176498A1 (en) Software upgrade method, mobile terminal and computer storage medium
CN110532016B (en) Version management method, version updating method and version management system
CN102510373B (en) A kind of method, apparatus and system for running application in a mobile device
CN103631621A (en) Method and device for prompting information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131218