I'm trying to use ImageMagick to create thumbnail images that are 3840 x 2160.
I need the image to have a black background and white text. The text should be centered vertically and horizontally.
I want to be able to set a font size, but if the text would extend off the image, automatically decrease the font size so it fits with some amount of padding on the left and right.
I will be doing this in bulk with several hundred thousand images. From what I've been able to find, it looks like you always have to set a font size and there's no way to make it dynamic.
Can anyone confirm if this is possible to do?