Does anyone know if there is a way to get a result back when you use caption in perl, so that you can get a flag back if your text has overflowed the box?
For example get back a "1" if the text fit in the box, or a "0" if it did not.
I have a situation where I am dealing with a long piece of changing text being place in a large box. Most of the time all of the text will fit in the box. But, about 10% of the time the text is longer, and the bottom few lines get cut off.
If anyone knows, it would be appreciated.
Otherwise, I will just figure out the character count that fills the box, and if it is over that amount, reduce the font size.
PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
1 post • Page 1 of 1