Change image extension when converting formats.
Merge pull request #1446 from nashby/change-file-extension

Change image extension when converting formats.