I downloaded a file the other day thinking it was in the .iso format, but it turned it to be .img file instead. I couldn't find any programs that recognised it. I was about to delete the file when I came across some commands that can convert img, nrg and mdf to iso format for easy burning.
First thing I did was to install the commands.
Then you can use the following simple commands for converting to iso. Make sure you are in the same directory as the file you're converting,
For img to iso: