WordCram icon indicating copy to clipboard operation
WordCram copied to clipboard

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

Open simpsus opened this issue 11 years ago • 0 comments

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

simpsus avatar Dec 28 '13 15:12 simpsus