Then I do dvipng -T tight -o test_image_name.gif test.dvi
which gives me a image with alot of white space at the bottom.
This could be caused by the bottom right 1 in the image.
How do you get rid of it and the space?