I'm creating an Image based on an incoming error message. Ideally, I'd like the height of the image to be something like number of lines + line spacing + padding
Is there a way of getting the number of lines or the height of the boundry for this so I can pass that to the img context?