Page 2 of 2

Re: Creating character sheets using IM

Posted: 2019-08-15T11:02:29-07:00
by fmw42
No problem.

Re: Creating character sheets using IM

Posted: 2019-08-15T12:43:14-07:00
by GeeMack
mrvico wrote: 2019-08-15T09:36:16-07:00Yeah, i think the lack of the red pixels made the screen on the steering wheel render garbled...
This command determines where the edge of the character is, then adds a red dot at the top on the third pixel to the right of each character. It uses "-trim" to get the width of the character, so there will still be a problem with the placement of that red dot on empty characters like a space. If you can create the character sheet with IM, then manually adjust the location of those few incorrect red reference pixels in some graphics software like Gimp, you should get what you need with very little manual work.

Code: Select all

imfont=Helvetica

convert -font ${imfont} -background none -bordercolor none -gravity southwest \
   -pointsize 16 -size 19x25 label:"\ " @chars.txt +gravity -delete 220--1 \
   -background \#1600f3 -splice 1x0 -border 1 -trim -background none -flop \
   -splice 3x0 -fill \#E10000 -draw "point 0,0" -flop -extent 20x25 \
   -background \#1600f3 -splice 0x1 +append +repage -crop 200x26 -append +repage \
   -gravity southeast -splice 1x1 -background \#626b62 -flatten charsheet.png