Add support for converting between jpg, tiff, png, gif image formats

1) Pass "fileType" as an argument to render_exporters()
2) Change building of "options" array to make it more readable (for me)
3) Change the return type of detect()" from bool to string. The string
is file's extension.