I inherited an interesting problem. Our old code creates a bitmap image from a text strings. It used ImageMagick convert to insert the texts into a blank bmp
ImageMagick convert