Search found 6 matches

by federicorico
2018-05-08T13:49:53-07:00
Forum: Users
Topic: Unicode symbol to image
Replies: 11
Views: 8505

Re: Unicode symbol to image

It's amazing how IM can be adapted to basically any need. The only thing that remains: how it would be for more than one regions? For example, '8', or the ball symbol in the second example. Also, it would be great to have the script commented, as to understand how the whole process is implemented. (...
by federicorico
2018-05-08T12:30:20-07:00
Forum: Users
Topic: Unicode symbol to image
Replies: 11
Views: 8505

Re: Unicode symbol to image

You're absolutely right, implementing "inside", that's the point.
I'm trying to test it, but am not familiar with BAT, could you please also provide a Linux version?
by federicorico
2018-05-08T10:23:02-07:00
Forum: Users
Topic: Unicode symbol to image
Replies: 11
Views: 8505

Re: Unicode symbol to image

That answers the second part of the question: inner areas cannot be filled automatically with IM. As for the first question, the `-fill` command seems to be the key here. Agreed, but the result seems to be different depending on the color used. While `black` and `white` http://drive.google.com/file/...
by federicorico
2018-05-08T08:03:47-07:00
Forum: Users
Topic: Unicode symbol to image
Replies: 11
Views: 8505

Re: Unicode symbol to image

It is not about using fonts in the usual way, but to provide a collection of characters and icons that can be transformed into graphic files, to be used in games, for example. The source just has black and levels of transparency to represent any symbol. I fail to see how to use `-level-colors` here....
by federicorico
2018-05-08T06:18:20-07:00
Forum: Users
Topic: Unicode symbol to image
Replies: 11
Views: 8505

Re: Unicode symbol to image

Not sure I get this answer. This is about transforming a symbol (of a given font) into a graphic file. I can change the color to white, for example, with `-fill white`. But `-fill red` wont' work, I don't know why. Besides, there are ways to detect that an area is surrounded by black, if IM can do i...
by federicorico
2018-05-07T23:00:10-07:00
Forum: Users
Topic: Unicode symbol to image
Replies: 11
Views: 8505

Unicode symbol to image

This is about transforming any symbol to an image, so the rich catalog of numbers, characters and icons is available in a graphic format. The `convert` command does the job nicely, like this: convert -size 50x50 xc:transparent -pointsize 30 -annotate +10+33 "O" output.png Now, this generat...