Carl Burks is a software developer for a global financial institution. With over ten years experience in technology and software development for financial organizations and over twenty years of software experience, Carl Burks provides articles, musings and insight into technology issues, software development, and other selected topics.

Make Your Own Backgrounds with Pango and ImageMagick

2017-08-23T22:00:08.000-07:00

Authors:
Carl Burks

First install imagemagick

ImageMagick

Install your fonts of choice.

Here is one I like:

Roboto

You can either type it every time or keep some settings you like in a script like:

createimagefrompango

convert -font Roboto-Black -size 1920x1080 -background white -gravity Center  pango:"$1" $2

Drop that in your

/usr/bin/createimagefrompango

Then use:

createimagefrompango "some text for render" someimage.png

If you've got a file of formated pango:

createimagefrompango @yourfile someimage.png

Documentation

pango

pango gnome

Then you have your new image.

Some Image

Some Image