I use imagick. In general, the question in the title - how?)

P.S. Take, for example, 300 dpi .

  • the issue is resolved - org

1 answer 1

You can use the -pointsize option

 convert -pointsize 24 ... 

Example: Simple Text Label