The goal of this adventure was to find the font that looked the best on a Massachusetts license plate, using ImageMagick.
I got the list of fonts using -list type fonts. This was run on two servers with different versions of ImageMagick, so there are two different ways to get the font list. Pick the one that works for you, or make your own.
The license plate blank came from R.T’s Blank Plates.
This is one of the 270+ images that were created:
This is a good example of centering a label. The command line begins with the convert command, followed by the blank plate. ‘compose srcOver’ and ‘gravity center’ position the image labeled in parenthesis over the plate, and ‘+composite’ assembles the image.
Many thanks to the ImageMagick examples.
You can create your own license plate avatar at taglinez.com.