Extracting color schemes of pages written in a markup language
AssigneeInternational Business Machines Corporation
InventorsShunsuke Ishikawa, Keisuke Nitta, Takuya Tejima
Life of this patent
Estimating the term…
Abstract
An aspect includes extracting a color scheme of a page written in a markup language. A content portion from the page is nonvisualized, a subtractive process is applied to the page with the content portion having been nonvisualized, and a color scheme is extracted from the page to which the subtractive process has been applied.
Claims20
A method of extracting a color scheme of a page written in a markup language, the method comprising:
- identifying text within a display area of a content portion of the page;
- modifying the content portion to prevent display of the text within the display area while maintaining a layout of the content portion including a size of the display area;
- applying a subtractive process to the page with the modified content portion;
- and
- extracting the color scheme from the page to which the subtractive process has been applied.
A system for extracting a color scheme of a page written in a markup language, the system comprising:
- a memory having computer readable instructions;
- and
- a processor coupled to the memory for executing the computer readable instructions, wherein the computer readable instructions cause the processor to:
- identify text within a display area of a content portion of the page;
- modify the content portion to prevent display of the text within the display area while maintaining a layout of the content portion including a size of the display area;
- apply a subtractive process to the page with the modified content portion;
- and
- extract the color scheme from the page to which the subtractive process has been applied.
A computer program product for extracting a color scheme of a page written in a markup language, the computer program product comprising a computer readable storage medium having program instructions embodied thereon, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a computer processor to cause the computer processor to:
- identify text within a display area of a content portion of the page;
- modify the content portion to prevent display of the text within the display area while maintaining a layout of the content portion including a size of the display area;
- apply a subtractive process to the page with the modified content portion;
- and
- extract the color scheme from the page to which the subtractive process has been applied.
Dependencies are inferred from the claim text.