发明名称 |
ICON GENERATION METHOD |
摘要 |
Disclosed is an icon generation method, comprising: adjusting an original icon to a preset size for a certain resolution environment; determining statistics for the color values of all pixels of the original icon and calculating a dominant hue of the original icon; generating a background color based on a hue angle of the dominant hue and preset values of color saturation and brightness; applying the background color to a preset color gradient template to generate an icon background; cutting the adjusted icon by using a preset icon edge cutting template; and combining the icon background, the cut icon, and a preset icon foreground template to generate a final icon. Through the disclosed solution, new icons complying with a unified system style can be generated, and content consistency of the new icons can be best ensured. |
申请公布号 |
US2014210862(A9) |
申请公布日期 |
2014.07.31 |
申请号 |
US201214005216 |
申请日期 |
2012.03.13 |
申请人 |
Li Weixing;Ren Tian;Li Wanqiang;Huang Jiangji |
发明人 |
Li Weixing;Ren Tian;Li Wanqiang;Huang Jiangji |
分类号 |
G06F3/0481 |
主分类号 |
G06F3/0481 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for icon generation, comprising the following steps:
A. adjusting an original icon to a preset size for a certain resolution environment; B. determining statistics for the color values of all pixels of the original icon and calculating a dominant hue of the original icon; C. generating a background color based on a hue angle of the dominant hue and preset values of color saturation and brightness; D. applying the background color to a preset color gradient template to generate an icon background; E. cutting the adjusted icon by using a preset icon edge cutting template; F. combining the icon background, the cut icon, and a preset icon foreground template to generate a final icon. |
地址 |
Beijing CN |