| CPC G06T 11/001 (2013.01) | 20 Claims |

|
1. A computer implemented method comprising:
processing, by a processing unit, a vector graphic to determine a set of file colours, wherein the vector graphic includes a plurality of vector graphic elements and each file colour in the set of file colours is a colour defined by one or more of the vector graphic elements;
rasterising the vector graphic to generate raster data that defines a raster version of the vector graphic;
processing the raster data to determine a set of dominant colours defined by the vector graphic; and
generating a set of file colour groups, wherein each file colour group is associated with a dominant colour of the set of dominant colours and with one or more file colours from the set of file colours, and wherein generating the set of file colour groups includes generating a first file colour group by:
selecting a first file colour of the set of file colours;
determining that the first file colour is closest to a first dominant colour of the set of dominant colours; and
associating the first file colour with the first dominant colour.
|