发明名称 RUNTIME TRANSFORMATION OF IMAGES TO MATCH A USER INTERFACE THEME
摘要 An application that generates a user interface includes multiple assets, such as icons, that are overlaid onto other user interface elements, such as tool bars, menus, windows, etc. The assets may be configured at runtime to match a user interface theme that utilizes specific colors, fonts, and styles. The application, at runtime, configures an asset to match the user interface theme by adjusting the luminosity of the pixels in the asset. A subset of pixels in the asset is matched to the color of a target background color by altering the luminosity of the subset of pixels in the asset to match the luminosity of the target background color. The luminosity of the remaining pixels is adjusted to match the theme.
申请公布号 US2014168248(A1) 申请公布日期 2014.06.19
申请号 US201213719275 申请日期 2012.12.19
申请人 MICROSOFT CORPORATION 发明人 Johnson Matthew;Duplessis Jean Pierre;Leonard Arthur C.;Hutchins Weston
分类号 G09G5/10 主分类号 G09G5/10
代理机构 代理人
主权项 1. A computer-implemented method, the method comprising: obtaining a first bitmap having a plurality of pixels, each pixel associated with at least a luminosity value, a first subset of pixels associated with a source luminosity value, a second subset of the pixels associated with a non-source luminosity value; altering the luminosity value of each pixel having the source luminosity value to match the target luminosity value; adjusting the luminosity value of each pixel in the second subset to a luminosity value that blends with the target luminosity value; and generating a second bitmap having the altered luminosity values, the second bitmap for use in rendering a new image onto a display.
地址 Redmond WA US