A method (1005) generates one or more linear blends. Initially, the method
has a list of already received one or more fill-paths defining a current
linear blend, and a newly received fill-path, where the fill-paths each
comprise a single colored parallelogram (eg. 700). The method adds (1090)
the new fill-path to the list to become the last fill-path in the list,
if the difference (1230) in color between the new fill-path and the last
fill-path in the list is no greater, in each color channel, than a
predetermined threshold value multiplied by the difference in color
between the last and second-last fill-paths in the list. The
predetermined threshold value is preset to such a value so that the new
fill-path will not be added to the list if the new fill-path does not
visually form part of the current linear blend. The method repeats this
step for each new fill-path received until the aforementioned condition
is not satisfied. Then, the method generates (1040) one or more linear
blends from the first fill-path in the list to the last fill-path in the
list.