Generate jpg files as well