CN103793931A - Method for fusing words and pictures - Google Patents

Method for fusing words and pictures Download PDF

Info

Publication number
CN103793931A
CN103793931A CN201410054900.4A CN201410054900A CN103793931A CN 103793931 A CN103793931 A CN 103793931A CN 201410054900 A CN201410054900 A CN 201410054900A CN 103793931 A CN103793931 A CN 103793931A
Authority
CN
China
Prior art keywords
word
picture
viewing area
ornaments
shade
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
CN201410054900.4A
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 CN201410054900.4A priority Critical patent/CN103793931A/en
Publication of CN103793931A publication Critical patent/CN103793931A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for fusing words and pictures. Cartoon word materials including decoration pictures, word attribute information and word display area information are manufactured in advance, the manufactured cartoon word materials are guided in, then a user can directly input words, the input words can be displayed in word display areas of the decoration pictures at appointed word attributes, accordingly, the user can input words which the user likes in fixed areas of the pictures according to needs, the words and the pictures are organically combined together, the cartoon effect is achieved, the method is more convenient to operate and the fusion effect of the words and the pictures is better.

Description

The fusion method of a kind of word and picture
Technical field
The present invention relates to the fusion method of a kind of word and picture.
Background technology
Existing bubble word allows to input the word of oneself wanting in certain fixed area of figure, word and figure are organically combined and produce the word with bubble effect, but the generation of its bubble figure often by algorithm draw form the limited but also shape of the kind of not only selecting and background also more single.
Summary of the invention
The present invention, for addressing the above problem, provides the fusion method of a kind of word and picture, and it can input the word of oneself wanting in the fixed area of picture, and word and picture are organically combined and make it have caricature effect.
For achieving the above object, the technical solution used in the present invention is:
A fusion method for word and picture, is characterized in that, comprises the following steps:
10. make caricature textual materials, the information of described caricature textual materials comprises ornaments picture, text attribute information, word display region information;
20. import described caricature textual materials;
30. input characters, and show with the word attribute of specifying the word of being inputted in the word viewing area of described ornaments picture.
As preferred embodiment, the method for making caricature textual materials in described step 10 is further comprising the steps:
11. create the ornaments picture of certain effects;
12. specify the word viewing area in ornaments picture;
13. specify the word attribute in ornaments picture;
14. are synthesized in a binary file described ornaments picture, word display region information, text attribute information to generate caricature textual materials.
As preferred embodiment, whether whether described word attribute comprises font, color, retouches limit, shade, runic, italic, one or more in the attribute such as underscore whether.
As preferred embodiment, the described design parameter of retouching limit comprises: retouch limit size, retouch limit color, retouch the transparency on limit.
As preferred embodiment, the design parameter of described shade comprises: the color of the side-play amount of shade, the transparency of shade, shade.
As preferred embodiment, the design parameter of described word viewing area comprises: reference position, wide, high.
As preferred embodiment, the synthetic method of the binary file in described step 14 is:
0x0000 is zone bit to 0x000A, and identifying this file is caricature textual materials;
0x000B is the initial horizontal ordinate of word viewing area to 0x002B;
0x0002C is the initial ordinate of word viewing area to 0x004C;
0x0004D is the wide of word viewing area to 0x006D;
0x0005E is the height of word viewing area to 0x007E;
0x0007F is font color, transparency to 0x009F;
0x00A0 to 0x00A8 for whether adding shade;
Color, transparency that 0x00A9 is shade to 0x00C9;
The width that 0x00CA is shade to 0x00EA;
0x00EB retouches limit to 0x00F4 for whether adding;
0x00F5 is color, the transparency of retouching limit to 0x0115;
0x0116 is the width of retouching limit to 0x0136;
0x0137 is default font title to 0x0177;
0x0178 is runic, italic, underscore to 0x017B;
0x017C is picture/mb-type to 0x01FC;
0x01FD is image data length to 0x023D;
0x023E is image data to end of file.
As preferred embodiment, in described step 30, the word of input can be filled in the word viewing area of described ornaments picture by self adaptive pantographic.
As preferred embodiment, in described step 30, after input characters, can carry out convergent-divergent to ornaments picture and word viewing area as required, Zoom method is further comprising the steps:
31. calculate the dimension scale of ornaments picture and letter viewing area;
32. convergent-divergent ornaments pictures are to the size of specifying;
The size of the 33. dimension scale convergent-divergent word viewing areas of calculating according to step 31;
34. are filled in the word of input again self adaptive pantographic in the word viewing area of the ornaments picture after convergent-divergent.
As preferred embodiment, in described step 13, specifying the word attribute in ornaments picture is the word attribute of acquiescence, and this word attribute can change as required.
The invention has the beneficial effects as follows:
The fusion method of a kind of word of the present invention and picture, it is by making and comprise ornaments picture in advance, text attribute information, the caricature textual materials of word display region information, and after the caricature textual materials of making in importing, user is input characters directly, and show with the word attribute of specifying the word of being inputted in the word viewing area of described ornaments picture, thereby the word that user can oneself be wanted the fixed area input of picture as required, and word and picture are organically combined and make it have caricature effect, more convenient operation, the syncretizing effect of word and picture is better.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the general flow chart of the fusion method of a kind of word of the present invention and picture;
Fig. 2 is the schematic diagram of the ornaments picture of the caricature textual materials of a preferred embodiment of the present invention;
Fig. 3 is the schematic diagram of the word viewing area in the ornaments picture of Fig. 2;
Fig. 4 is the operation chart of the application process of the caricature textual materials of Fig. 2.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, the fusion method of a kind of word of the present invention and picture, it comprises the following steps:
10. make caricature textual materials, the information of described caricature textual materials comprises ornaments picture, text attribute information, word display region information;
20. import described caricature textual materials;
30. input characters, and show with the word attribute of specifying the word of being inputted in the word viewing area of described ornaments picture.
In the present embodiment, the method for making caricature textual materials in described step 10 is further comprising the steps:
11. create the ornaments picture of certain effects, as shown in Figure 2; The ornaments picture that stretches for preventing actual use when, the size of the ornaments picture creating in this step can be as far as possible larger;
12. specify the word viewing area in ornaments picture, as shown in Figure 3;
13. specify the word attribute in ornaments picture;
14. are synthesized in a binary file described ornaments picture, word display region information, text attribute information to generate caricature textual materials.
In described step 13, specifying the word attribute in ornaments picture is the word attribute of acquiescence, and this word attribute can change to obtain different display effects as required; The word viewing area of specifying in step 12 is the word viewing area of acquiescence, but user can not specify the word viewing area of non-acquiescence.
Whether whether described word attribute comprises font, color, retouches limit, shade, runic, italic, one or more in the attribute such as underscore whether, for example the word attribute of the ornaments picture in Fig. 2 is: wherein font is that Microsoft is refined black, color value is R=64, B=0, G=0, do not retouch limit, there is no shade, do not establish runic, do not establish italic, do not set line; The described design parameter of retouching limit comprises: retouch limit size, retouch limit color, retouch the transparency on limit; The design parameter of described shade comprises: the color of the side-play amount of shade, the transparency of shade, shade; The design parameter of described word viewing area comprises: reference position, wide, high.
In the present embodiment, the synthetic method of the binary file in described step 14 is:
0x0000 is zone bit to 0x000A, and identifying this file is caricature textual materials;
0x000B is the initial horizontal ordinate of word viewing area to 0x002B;
0x0002C is the initial ordinate of word viewing area to 0x004C;
0x0004D is the wide of word viewing area to 0x006D;
0x0005E is the height of word viewing area to 0x007E;
0x0007F is font color, transparency to 0x009F;
0x00A0 to 0x00A8 for whether adding shade;
Color, transparency that 0x00A9 is shade to 0x00C9;
The width that 0x00CA is shade to 0x00EA;
0x00EB retouches limit to 0x00F4 for whether adding;
0x00F5 is color, the transparency of retouching limit to 0x0115;
0x0116 is the width of retouching limit to 0x0136;
0x0137 is default font title to 0x0177;
0x0178 is runic, italic, underscore to 0x017B;
0x017C is picture/mb-type to 0x01FC;
0x01FD is image data length to 0x023D;
0x023E is image data to end of file.
In described step 30, the word of input can be filled in the word viewing area of described ornaments picture by self adaptive pantographic, and, in order to adapt to different display sizes and resolution, in described step 30, after input characters, can carry out convergent-divergent to ornaments picture and word viewing area as required, Zoom method is further comprising the steps:
31. calculate the dimension scale of ornaments picture and letter viewing area;
32. convergent-divergent ornaments pictures are to the size of specifying;
The size of the 33. dimension scale convergent-divergent word viewing areas of calculating according to step 31;
34. are filled in the word of input again self adaptive pantographic in the word viewing area of the ornaments picture after convergent-divergent.
For example, in Fig. 4, show the practical situations of this caricature textual materials, user can input at text input box the character string of " one glass of hot tea just a little token to show my respect to you ", this character string is filled and is presented in the word viewing area of Fig. 3 according to the viewing area of specifying and word attribute self adaptive pantographic, allow the size of user's convergent-divergent caricature textual materials simultaneously, change text color, font etc.
The fusion method of a kind of word of the present invention and picture, the figure that algorithm in script session bubble is generated replaces to picture, it is by making and comprise ornaments picture in advance, text attribute information, the caricature textual materials of word display region information, and after the caricature textual materials of making in importing, user is input characters directly, and show with the word attribute of specifying the word of being inputted in the word viewing area of described ornaments picture, thereby the word that user can oneself be wanted the fixed area input of picture as required, the method is synthesized a caricature textual materials by the various key elements of caricature word by certain format, user can pre-define the various key elements in material, comprise ornaments picture, word attribute, word viewing area, word and picture are organically combined and make it have caricature effect, when select certain when generated caricature textual materials user only need pay close attention to oneself content of text, obtain corresponding caricature text effects, more convenient operation, the syncretizing effect of word and picture is better.
Above-mentioned explanation illustrates and has described the preferred embodiments of the present invention, as front, be to be understood that the present invention is not limited to disclosed form herein, should not regard the eliminating to other embodiment as, and can be used for various other combinations, modification and environment, and can, in invention contemplated scope herein, change by technology or the knowledge of above-mentioned instruction or association area.And the change that those skilled in the art carry out and variation do not depart from the spirit and scope of the present invention, all should be in the protection domain of claims of the present invention.

Claims (10)

1. a fusion method for word and picture, is characterized in that, comprises the following steps:
10. make caricature textual materials, the information of described caricature textual materials comprises ornaments picture, text attribute information, word display region information;
20. import described caricature textual materials;
30. input characters, and show with the word attribute of specifying the word of being inputted in the word viewing area of described ornaments picture.
2. the fusion method of a kind of word according to claim 1 and picture, is characterized in that: the method for making caricature textual materials in described step 10 is further comprising the steps:
11. create the ornaments picture of certain effects;
12. specify the word viewing area in ornaments picture;
13. specify the word attribute in ornaments picture;
14. are synthesized in a binary file described ornaments picture, word display region information, text attribute information to generate caricature textual materials.
3. the fusion method of a kind of word according to claim 2 and picture, is characterized in that: whether whether described word attribute comprises font, color, retouches limit, shade, runic, italic, one or more in the attribute such as underscore whether.
4. the fusion method of a kind of word according to claim 3 and picture, is characterized in that: the described design parameter of retouching limit comprises: retouch limit size, retouch limit color, retouch the transparency on limit.
5. the fusion method of a kind of word according to claim 3 and picture, is characterized in that: the design parameter of described shade comprises: the color of the side-play amount of shade, the transparency of shade, shade.
6. the fusion method of a kind of word according to claim 1 and 2 and picture, is characterized in that: the design parameter of described word viewing area comprises: reference position, wide, high.
7. the fusion method of a kind of word according to claim 3 and picture, is characterized in that: the synthetic method of the binary file in described step 14 is:
0x0000 is zone bit to 0x000A, and identifying this file is caricature textual materials;
0x000B is the initial horizontal ordinate of word viewing area to 0x002B;
0x0002C is the initial ordinate of word viewing area to 0x004C;
0x0004D is the wide of word viewing area to 0x006D;
0x0005E is the height of word viewing area to 0x007E;
0x0007F is font color, transparency to 0x009F;
0x00A0 to 0x00A8 for whether adding shade;
Color, transparency that 0x00A9 is shade to 0x00C9;
The width that 0x00CA is shade to 0x00EA;
0x00EB retouches limit to 0x00F4 for whether adding;
0x00F5 is color, the transparency of retouching limit to 0x0115;
0x0116 is the width of retouching limit to 0x0136;
0x0137 is default font title to 0x0177;
0x0178 is runic, italic, underscore to 0x017B;
0x017C is picture/mb-type to 0x01FC;
0x01FD is image data length to 0x023D;
0x023E is image data to end of file.
8. the fusion method of a kind of word according to claim 1 and picture, is characterized in that: in described step 30, the word of input can be filled in the word viewing area of described ornaments picture by self adaptive pantographic.
9. the fusion method of a kind of word according to claim 8 and picture, is characterized in that: in described step 30, after input characters, can carry out convergent-divergent to ornaments picture and word viewing area as required, Zoom method is further comprising the steps:
31. calculate the dimension scale of ornaments picture and letter viewing area;
32. convergent-divergent ornaments pictures are to the size of specifying;
The size of the 33. dimension scale convergent-divergent word viewing areas of calculating according to step 31;
34. are filled in the word of input again self adaptive pantographic in the word viewing area of the ornaments picture after convergent-divergent.
10. the fusion method of a kind of word according to claim 2 and picture, is characterized in that: in described step 13, specifying the word attribute in ornaments picture is the word attribute of acquiescence, and this word attribute can change as required.
CN201410054900.4A 2014-02-18 2014-02-18 Method for fusing words and pictures Pending CN103793931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410054900.4A CN103793931A (en) 2014-02-18 2014-02-18 Method for fusing words and pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410054900.4A CN103793931A (en) 2014-02-18 2014-02-18 Method for fusing words and pictures

Publications (1)

Publication Number Publication Date
CN103793931A true CN103793931A (en) 2014-05-14

Family

ID=50669554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410054900.4A Pending CN103793931A (en) 2014-02-18 2014-02-18 Method for fusing words and pictures

Country Status (1)

Country Link
CN (1) CN103793931A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550980A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Image generation method and related apparatus
CN106934847A (en) * 2015-12-31 2017-07-07 腾讯科技(深圳)有限公司 Method for generating pattern and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1717086A (en) * 2004-07-02 2006-01-04 三星电子株式会社 Method in the portable terminal edited image
CN101162576A (en) * 2007-10-18 2008-04-16 深圳华为通信技术有限公司 Display process and device
CN101237637A (en) * 2007-01-31 2008-08-06 北京三星通信技术研究有限公司 Realization method and device for personalized multimedia SMS
CN101833289A (en) * 2009-03-13 2010-09-15 费舍-柔斯芒特系统股份有限公司 The compound shape convergent-divergent of man-machine graphical interfaces
US20120120426A1 (en) * 2004-07-07 2012-05-17 Christoph Clermont Process for generating images with realistic modifications
CN102982572A (en) * 2012-10-31 2013-03-20 北京百度网讯科技有限公司 Intelligent image editing method and device thereof
CN103049167A (en) * 2011-11-02 2013-04-17 微软公司 Optimal display and zoom of objects and text in a document
CN103327270A (en) * 2013-06-28 2013-09-25 腾讯科技(深圳)有限公司 Image processing method, device and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1717086A (en) * 2004-07-02 2006-01-04 三星电子株式会社 Method in the portable terminal edited image
US20120120426A1 (en) * 2004-07-07 2012-05-17 Christoph Clermont Process for generating images with realistic modifications
CN101237637A (en) * 2007-01-31 2008-08-06 北京三星通信技术研究有限公司 Realization method and device for personalized multimedia SMS
CN101162576A (en) * 2007-10-18 2008-04-16 深圳华为通信技术有限公司 Display process and device
CN101833289A (en) * 2009-03-13 2010-09-15 费舍-柔斯芒特系统股份有限公司 The compound shape convergent-divergent of man-machine graphical interfaces
CN103049167A (en) * 2011-11-02 2013-04-17 微软公司 Optimal display and zoom of objects and text in a document
CN102982572A (en) * 2012-10-31 2013-03-20 北京百度网讯科技有限公司 Intelligent image editing method and device thereof
CN103327270A (en) * 2013-06-28 2013-09-25 腾讯科技(深圳)有限公司 Image processing method, device and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550980A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Image generation method and related apparatus
CN105550980B (en) * 2014-10-29 2018-11-27 阿里巴巴集团控股有限公司 A kind of Picture Generation Method and relevant apparatus
CN106934847A (en) * 2015-12-31 2017-07-07 腾讯科技(深圳)有限公司 Method for generating pattern and device
CN106934847B (en) * 2015-12-31 2020-09-25 腾讯科技(深圳)有限公司 Pattern generation method and device

Similar Documents

Publication Publication Date Title
KR101331330B1 (en) Semi-transparent highlighting of selected objects in electronic documents
JP2014165766A (en) Content creation device, content distribution server, and content creation method
CN107480121A (en) The preparation method of format data flow table list
CN103793931A (en) Method for fusing words and pictures
KR101371406B1 (en) Method and system for manufacturing e-book by source analysis of pdf document
Turgut Calligraphic forms in contemporary typographic design
CN108961361A (en) Generate method and system, the computer equipment of literal with special effect image
US10262442B2 (en) Enhanced precision background shading for digitally published text
CN102902658B (en) A kind of colorful character display methods and device
Zhang et al. The computer-based generation of fonts in the style of Kandinsky
Jinxian Application of guiding design in ui design of mobile terminal
CN100349203C (en) Co-screen displaying device supporting scale chracter shape and method thereof
KR20130120151A (en) Apparatus and method for generating decorated qr code
MY152510A (en) Improving text rendering contrast
US20150221113A1 (en) Method for dynamically displaying picture after converting gif picture to pdf file
Dubrivnyi Modern web-design: features, development trends, forecasting
CN112837081A (en) Automatic generation method and device of advertisement picture and storage medium
CN113128173A (en) Method and computing device for converting and displaying artistic word text in document, and computer readable medium
Li “How-To” Make Art in Communist China: Professionalizing Amateur Artists
TW466454B (en) Overcast processing of graphics character
Yu et al. The Value of Artistic Symbols of Chinese Calligraphy Art in Packaging Design of Creative Products
Ross Digital typeface design and font development for twenty-first century bangla language processing
Lee Study for making movie poster applied Augmented Reality
Aspin Enhancing Dashboards
JP2010287961A (en) Device for generation of character information, method of controlling the same, program for controlling the same, and computer readable recording medium with the program recorded thereon

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: 20140514