CN104899826B - A kind of method that mobile phone theme is made based on PSD analytic techniques - Google Patents
A kind of method that mobile phone theme is made based on PSD analytic techniques Download PDFInfo
- Publication number
- CN104899826B CN104899826B CN201510351418.1A CN201510351418A CN104899826B CN 104899826 B CN104899826 B CN 104899826B CN 201510351418 A CN201510351418 A CN 201510351418A CN 104899826 B CN104899826 B CN 104899826B
- Authority
- CN
- China
- Prior art keywords
- theme
- psd
- picture
- module
- mobile phone
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000006835 compression Effects 0.000 claims abstract description 10
- 238000007906 compression Methods 0.000 claims abstract description 10
- 230000010354 integration Effects 0.000 claims abstract description 4
- 238000007418 data mining Methods 0.000 claims description 6
- 238000012856 packing Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Classifications
-
- G06T3/04—
Abstract
A kind of method that mobile phone theme is made based on PSD analytic techniques:Using photoshop instruments, PSD templates are modified design according to the subject requirement of manufacturer, complete the making of theme;Start theme tools, amended PSD templates importing core PSD parsing modules are parsed;Batch export layers picture;Export text color;Batch compression is carried out to picture;Generation meets the .9 picture formats required for theme presentation;Match picture format and text color configuration format needed for manufacturer's theme;Picture after integration and text color configuration are packed;Theme is completed to make or calling mobile phone theme preview tool;Pack arrangement parsing is carried out to the bag of generation;To the preview displaying generation preview graph of topic style;Preview graph is packed again, theme making is finally completed.The present invention uses PSD templates, can only be absorbed in conception design, and makes rule without specially learning the complicated theme of each manufacturer, it is possible to which the theme for being easily accomplished multiple manufacturers makes.
Description
Technical field
The present invention relates to a kind of making of mobile phone theme.It is more particularly to a kind of that mobile phone theme is made based on PSD analytic techniques
Method.
Background technology
With the popularization of smart mobile phone, the first choice side of increasing user individual mobile phone is also turned into using mobile phone theme
Case, but major cell phone manufacturer's theme standards are inconsistent, theme rule is complicated, cause at this stage designer learn and make mobile phone
Theme becomes a cost very high thing.
Current theme is made, and designer is needed first using design tool design motif elements, Zhi Houzai such as Photoshop
By the picture of the independent PNG or JPG forms of each interface of theme and element disassembling into manually, afterwards again by each picture hand
Dynamic is imported into the theme instrument of cell phone manufacturer, and the position on mobile phone interface is set in each picture.This method is led
Causing 1. themes to make, learning cost is high, and a lot of designers directly beat a retreat in the face of difficulties.2. theme rule is complicated, easily error is made, is returned
The single set theme fabrication cycle of work rate high 3. is long.Although substantial amounts of designer makes in study theme, but still for being less than demand.
The content of the invention
The technical problems to be solved by the invention, which are to provide one kind, directly to make theme simultaneously by existing design software
The method that mobile phone theme is made based on PSD analytic techniques of the various mobile phone themes of one key generation adaptation.
The technical solution adopted in the present invention is:A kind of method that mobile phone theme is made based on PSD analytic techniques, including such as
Lower step:
1) photoshop instruments are used, PSD templates are modified design according to the subject requirement of manufacturer, completion theme
Making;
2) start theme tools, amended PSD templates importing core PSD parsing modules are parsed;
3) by figure layer export module, the figure layer data that PSD parsings are obtained, batch export layers picture are integrated;
4) by text color export module, the text color that PSD parsings are obtained is integrated, text color is exported;
5) by picture compression module, batch compression is carried out to picture, reduces theme volume;
6) by .9 file collectors, the picture after being compressed to batch carries out batch .9 process of compilation, and generation meets master
Inscribe the .9 picture formats required for displaying;
7) by document management module, with reference to manufacturer's theme rule match module, picture format needed for matching manufacturer theme
With text color configuration format;
8) by theme packetization module, the picture after integration and text color configuration are packed;
9) judge whether there is preview graph in theme bag, if there is preview graph, directly by theme packetization module to preview graph
Packing, is finally completed theme making, terminates;If without preview graph, connecting mobile phone, calling mobile phone theme preview tool;
10) by the theme Packet analyzing module in theme preview tool to step 9) generation bag carry out pack arrangement parsing;
11) realize that the preview to topic style is shown by the theme showing interface module in theme preview tool, simultaneously
Preview graph is generated by preview graph automatically-generating module;
12) preview graph returns to theme tools, preview graph is packed again by theme packetization module, now theme bag
Inside contain preview graph, be finally completed theme making.
Step 2) described in core PSD parsing modules include the parsing to following information in PSD:File structure, file
Size, figure layer/directory size and configuration information, figure layer/directory name, map data mining platform and character font data.
Described map data mining platform, including color mode and bit depth, vector masking-out data, flattening view data and .9
Picture format, described character font data, including text filed content and font name, size and color.
Step 2) described in theme tools include:Core PSD parsing modules, figure layer export module, text color are led
Go out module, picture compression module .9 files collector, XML modules, manufacturer's theme rule match module and theme packing mould
Block.
Step 7) described in manufacturer's theme rule match module be that each element in PSD templates and the element finally exist
Mobile phone theme information on every kind of mobile phone, is corresponded, and is recorded using the configuration file of XML format.
Described mobile phone theme information includes:Picture name, picture path, picture format, picture size and theme word
Color configuration information.
Step 9) described in theme preview tool include:Theme Packet analyzing module, theme showing interface module and preview
Figure automatically-generating module.
A kind of method that mobile phone theme is made based on PSD analytic techniques of the present invention, based on PSD analytic techniques, designer
Using PSD templates, conception design can be only absorbed in, and make rule without specially learning the complicated theme of each manufacturer, so that it may
Made with the theme for being easily accomplished multiple manufacturers.I.e..Realize that designer can directly make theme and one by existing design software
The theme of the various mobile phones of key generation adaptation.
Brief description of the drawings
Fig. 1 is principle of the invention frame diagram;
Fig. 2 is the workflow diagram of the present invention.
Embodiment
A kind of method for making mobile phone theme based on PSD analytic techniques of the present invention is done with reference to embodiment and accompanying drawing
Go out to describe in detail.
As shown in Figure 1 and Figure 2, a kind of method that mobile phone theme is made based on PSD analytic techniques of the invention, is by one
The general theme of set makes PSD templates, and one aids in making theme, one based on the theme tools of PSD analytic techniques
Theme preview tool realizes multi-vendor theme preview.Comprise the following steps:
1) photoshop instruments are used, PSD templates are modified design according to the subject requirement of manufacturer, completion theme
Making;
2) start theme tools, amended PSD templates importing core PSD parsing modules are parsed;
Described theme tools include:Core PSD parsing modules, figure layer export module, text color export module,
Picture compression module .9 files collector, XML modules, manufacturer's theme rule match module and theme packetization module.
Described core PSD parsing modules include the parsing to following information in PSD:File structure, file size, figure
Layer/directory size and configuration information, figure layer/directory name, map data mining platform and character font data (via psd-enginedata).
Wherein, described map data mining platform, including color mode and bit depth, vector masking-out data, flattening view data and .9 figures
Piece form, described character font data, including text filed content and font name, size and color.
3) by figure layer export module, the figure layer data that PSD parsings are obtained, batch export layers picture are integrated;
4) by text color export module, the text color that PSD parsings are obtained is integrated, text color is exported;
5) by picture compression module, batch compression is carried out to picture, reduces theme volume;
6) by .9 file collectors, the picture after being compressed to batch carries out batch .9 process of compilation, and generation meets master
Inscribe the .9 picture formats required for displaying;
7) by document management module, with reference to manufacturer's theme rule match module, picture format needed for matching manufacturer theme
With text color configuration format;
Described manufacturer's theme rule match module, the theme rule to complicated multiple manufacturers is encapsulated, be by
Each element and the final mobile phone theme information on every kind of mobile phone of the element, are corresponded, using XML lattice in PSD templates
The configuration file record of formula.Described mobile phone theme information includes:Picture name, picture path, picture format, picture size and
Theme text color configuration information.By manufacturer's theme rule match module, the theme of a set of PSD templates resource generation can be with
Directly match and used to multiple manufacturers.
8) by theme packetization module, the picture after integration and text color configuration are packed;
9) judge whether there is preview graph in theme bag, if there is preview graph, directly by theme packetization module to preview graph
Packing, is finally completed theme making, terminates;If without preview graph, mobile phone is connected by USB interface, calling mobile phone theme is pre-
Look at instrument;
Described theme preview tool includes:Theme Packet analyzing module, theme showing interface module and preview graph are automatic
Generation module.
10) by the theme Packet analyzing module in theme preview tool to step 9) generation bag carry out pack arrangement parsing;
11) realize that the preview to topic style is shown by the theme showing interface module in theme preview tool, simultaneously
Preview graph is generated by preview graph automatically-generating module;
12) preview graph returns to theme tools, preview graph is packed again by theme packetization module, now theme bag
Inside contain preview graph, be finally completed theme making.
Above is having been carried out in detail to a kind of method for making mobile phone theme based on PSD analytic techniques provided by the present invention
Introduction, the present invention in apply specific case to the present invention structural principle and embodiment be set forth, the above implement
Example is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for those of ordinary skill in the art, foundation
The thought of the present invention, will change, in summary, this specification content is not in specific embodiments and applications
It is interpreted as limitation of the present invention.
Claims (7)
1. a kind of method that mobile phone theme is made based on PSD analytic techniques, it is characterised in that comprise the following steps:
1) photoshop instruments are used, PSD templates are modified design according to the subject requirement of manufacturer, the system of completion theme
Make;
2) start theme tools, amended PSD templates importing core PSD parsing modules are parsed;
3) by figure layer export module, the figure layer data that PSD parsings are obtained, batch export layers picture are integrated;
4) by text color export module, the text color that PSD parsings are obtained is integrated, text color is exported;
5) by picture compression module, batch compression is carried out to picture, reduces theme volume;
6) by .9 file collectors, the picture after being compressed to batch carries out batch .9 process of compilation, and generation meets theme exhibition
Show required .9 picture formats;
7) by document management module, with reference to manufacturer's theme rule match module, picture format and text needed for matching manufacturer theme
Word color configuration form;
8) by theme packetization module, the picture after integration and text color configuration are packed;
9) judge whether there is preview graph in theme bag, if there is preview graph, directly preview graph packed by theme packetization module,
Theme making is finally completed, is terminated;If without preview graph, connecting mobile phone, calling mobile phone theme preview tool;
10) by the theme Packet analyzing module in theme preview tool to step 9) generation bag carry out pack arrangement parsing;
11) realize that the preview to topic style is shown by the theme showing interface module in theme preview tool, pass through simultaneously
Preview graph automatically-generating module generates preview graph;
12) preview graph returns to theme tools, and preview graph is packed again by theme packetization module, in theme bag now
Containing preview graph, theme making is finally completed.
2. a kind of method that mobile phone theme is made based on PSD analytic techniques according to claim 1, it is characterised in that step
It is rapid 2) described in core PSD parsing modules include the parsing to following information in PSD:File structure, file size, figure layer/
Directory size and configuration information, figure layer/directory name, map data mining platform and character font data.
3. a kind of method that mobile phone theme is made based on PSD analytic techniques according to claim 2, it is characterised in that institute
The map data mining platform stated, including color mode and bit depth, vector masking-out data, flattening view data and .9 picture formats,
Described character font data, including text filed content and font name, size and color.
4. a kind of method that mobile phone theme is made based on PSD analytic techniques according to claim 1, it is characterised in that step
It is rapid 2) described in theme tools include:Core PSD parsing modules, figure layer export module, text color export module, picture
Compression module .9 files collector, XML modules, manufacturer's theme rule match module and theme packetization module.
5. a kind of method that mobile phone theme is made based on PSD analytic techniques according to claim 1, it is characterised in that step
It is rapid 7) described in manufacturer's theme rule match module be that each element in PSD templates and the element is final on every kind of mobile phone
Mobile phone theme information correspond, using XML format configuration file record.
6. a kind of method that mobile phone theme is made based on PSD analytic techniques according to claim 5, it is characterised in that institute
The mobile phone theme information stated includes:Picture name, picture path, picture format, picture size and theme text color match somebody with somebody confidence
Breath.
7. a kind of method that mobile phone theme is made based on PSD analytic techniques according to claim 1, it is characterised in that step
It is rapid 9) described in theme preview tool include:Theme Packet analyzing module, theme showing interface module and preview graph are automatically generated
Module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510351418.1A CN104899826B (en) | 2015-06-23 | 2015-06-23 | A kind of method that mobile phone theme is made based on PSD analytic techniques |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510351418.1A CN104899826B (en) | 2015-06-23 | 2015-06-23 | A kind of method that mobile phone theme is made based on PSD analytic techniques |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104899826A CN104899826A (en) | 2015-09-09 |
CN104899826B true CN104899826B (en) | 2017-10-24 |
Family
ID=54032474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510351418.1A Active CN104899826B (en) | 2015-06-23 | 2015-06-23 | A kind of method that mobile phone theme is made based on PSD analytic techniques |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104899826B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155698A (en) * | 2016-07-28 | 2016-11-23 | 珠海市魅族科技有限公司 | A kind of method that theme is on probation and terminal |
CN107392974A (en) * | 2017-07-13 | 2017-11-24 | 北京金山安全软件有限公司 | Picture generation method and device and terminal equipment |
CN107832049B (en) * | 2017-08-14 | 2021-10-15 | 苏州彩虹糖软件技术有限公司 | Mobile phone theme making method based on making software |
CN107622134B (en) * | 2017-10-16 | 2021-02-19 | 杭州时间线信息科技有限公司 | Method for manufacturing automatic design layout type detail page by combining visual identification and artificial intelligence |
CN108984172B (en) * | 2018-05-31 | 2022-04-26 | 北京奇艺世纪科技有限公司 | Interface file generation method and device |
CN110210010A (en) * | 2019-05-20 | 2019-09-06 | 掌阅科技股份有限公司 | PSD file editing method, electronic equipment based on demixing technology realization |
CN115002555B (en) * | 2022-06-01 | 2024-01-05 | 无限魔方(深圳)科技有限公司 | Theme making method, device and equipment applied to live broadcasting room |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080095A (en) * | 2007-04-20 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A subject interaction system and method of mobile phone |
CN102081599A (en) * | 2011-02-11 | 2011-06-01 | 广东欧珀移动通信有限公司 | Method for editing, creating and displaying mobile phone scheme based on high pass platform |
CN102209147A (en) * | 2011-05-23 | 2011-10-05 | 广州市动景计算机科技有限公司 | Method and system for customizing theme by mobile communication terminal browser |
-
2015
- 2015-06-23 CN CN201510351418.1A patent/CN104899826B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080095A (en) * | 2007-04-20 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A subject interaction system and method of mobile phone |
CN102081599A (en) * | 2011-02-11 | 2011-06-01 | 广东欧珀移动通信有限公司 | Method for editing, creating and displaying mobile phone scheme based on high pass platform |
CN102209147A (en) * | 2011-05-23 | 2011-10-05 | 广州市动景计算机科技有限公司 | Method and system for customizing theme by mobile communication terminal browser |
Non-Patent Citations (2)
Title |
---|
基于Android平台的UX手机交互主题的设计与实现;陈燕;《电脑开发与应用》;20140525(第5期);第60-63页 * |
打造个性手机主题——索爱手机主题创建器;火花;《电脑知识与技术(经验技巧)》;20101205;第83-84页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104899826A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104899826B (en) | A kind of method that mobile phone theme is made based on PSD analytic techniques | |
CN106980605B (en) | contract generation method and device | |
CN101661460B (en) | Method and device for generating management system report | |
CN104239073B (en) | Data maintenance system rapid prototyping development system and method | |
US20080244541A1 (en) | Code translator and method of automatically translating modeling language code to hardware language code | |
CN105183466B (en) | A kind of packaging method that simplified echarts is called | |
CN102855350B (en) | The automatic map delivery method and system of engineering drawing | |
CN102012954A (en) | Subsystem integration method and subsystem integration system for integration design of system-on-chip | |
WO2021219066A1 (en) | Document processing method and apparatus, and electronic device | |
CN107678740A (en) | A kind of method for packing and computer equipment of UI Service Component | |
CN111125975A (en) | FPGA time division multiplexing multiplex data transmission method, storage medium and terminal | |
CN106484415A (en) | A kind of register configuration code automatic generation method and device | |
CN110825364A (en) | Application template configuration method based on tree structure | |
CN103425465A (en) | Electronic medical record document editor | |
JP4480737B2 (en) | Logic verification support program, recording medium recording the program, logic verification support device, and logic verification support method | |
CN109614971A (en) | A kind of comparison type document check meter | |
CN104063231B (en) | Test resource rapid access method based on HIT-TENA | |
CN109683948A (en) | System data introduction method, device, electronic product and storage medium | |
CN109033523A (en) | A kind of Assembly process specification generation System and method for based on three-dimensional CAD model | |
CN105574246B (en) | The IP module synthetic methods of domain | |
CN111581700A (en) | Method for adding BIM attribute and outputting BIM attribute table based on CATIA model | |
US20100023922A1 (en) | Linking uml activity diagram nodes to uml class diagram nodes by using properties from applied stereotypes | |
CN108763457A (en) | Universal data export method, equipment and storage medium based on formatting template | |
EP3779672A1 (en) | System and method for generating unified experiences on digital platforms | |
CN107943515A (en) | A kind of method and apparatus of cloud management platform management service orchestration template |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |