We are encountering unexpected behavior when changing the density for text generation:
Code: Select all
convert -pointsize 24 -density 100 -size 500x200 caption:"IIIIIIIIIIIIIIIIIIIIIIIII\r\nOOOOOOOOO" test1.pngCode: Select all
convert -pointsize 24 -density 200 -size 500x200 caption:"IIIIIIIIIIIIIIIIIIIIIIIII\r\nOOOOOOOOO" test2.pngAs far as I understand changing density from 100 to 200 should make everything exactly 2 times bigger, but it's not the case for text. My workaround so far has been to generate everything at a certain density (like 300) and then resample to desired density, but that makes things extremely slow when working with large font sizes. So I thought maybe ImageMagick developers can solve the root issue described above.
I would appreciate your help in advance.
Thanks,
Arash