Perhaps xnview can do that, it's an image viewer that can convert quite a lot of formats.

http://www.xnview.de/