If, however, you know that the gif will be displayed on a white background, you can get an antialiased effect with a command like the following. But now white jaggies will show up if the image is on a non-white background.
Code: Select all
convert -background white -fill blue -pointsize 25 -gravity center label:1234567890 -transparent white foo.gif