Search found 4 matches
- 2017-02-19T19:16:22-07:00
- Forum: Users
- Topic: text to image problem
- Replies: 12
- Views: 4404
Re: text to image problem
Sorry about the code - I was experimenting with a bunch of different things in my scripts and on the command line. The 8 bit PNG fixes the file size problem and the fact the the glyphs themselves aren't even square solves the problem with the aspect ratio, so everything is cleared up. Thanks a lot ...
- 2017-02-19T16:20:05-07:00
- Forum: Users
- Topic: text to image problem
- Replies: 12
- Views: 4404
Re: text to image problem
macOS 10.12.3 ImageMagick 6.9.7-7 Q16 x86_64 2017-02-11 Setting the fuzz factor all the way to 40% got rid of the blank space: convert -size 300x300 -trim -fill black -fuzz 40% -font GC2004D_.TTF label:@boardstring.txt +repage out.png I just realized however that this method results in a nonsquare ...
- 2017-02-19T13:33:48-07:00
- Forum: Users
- Topic: text to image problem
- Replies: 12
- Views: 4404
Re: text to image problem
Thanks guys, The -trim option fixes everything except for a one pixel wide strip on the right (it unfortunately doesn't look right when a border is added to the image): http://i63.tinypic.com/15znypy.png I ran the pointsize test with my font and got this: convert -background white -pointsize 48 ...
- 2017-02-19T11:43:01-07:00
- Forum: Users
- Topic: text to image problem
- Replies: 12
- Views: 4404
text to image problem
I am trying to create a square image of a chessboard by converting a text string using a special chess font: convert -size 300x300 -fill black -font chessfont.TTF caption:@boardstring.txt out.png http://i65.tinypic.com/2rw017c.png As you can see, the image is not a nicely filled square, but instead ...