Move the code for creating an image from text into a new function,
make_text_image().

Created two functions, glue_images_vertical() and
splice_images_vertical() for creating new images from existing images.