Skip to content

[Contrib] A Colorer taking the color from an image and the position of the word #56

@simpsus

Description

@simpsus

The idea is to have two source images. One solid one for the ShapeBasedPlacer to place the words in, and another colored one for the color of the words, in that way, one can create shapes by color. Works best with crams with lots of evenly sized words:

image

It currently has two modes, one which takes only the renderedLocation of the image and a slower one that counts all the covered pixels in the image and takes the most-covered color.

https://github.com/simpsus/WordCram/blob/sketches/src/contrib/ImageBasedWordColorer.java

trinityheart_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions