$ for img in *.png; do convert "img" "${img%ng}df"; done
You can then join the PDFs ('pdfjoin' is shipped with the PDFjam package):
$ pdfjoin *.pdf
The order is that of the arguments (you may not want the alphabetical order
you get with globbing, i.e., using the "*").
