I have never used it but you can try The QCAD command line tools which can convert DXF files to a variety of bitmap formats.