A simple script to generate jpg from dat.