I have an georeferenced JPG file and a JGW file containing the coordinates. How can I transform it to a georeferenced TIF file and a TFW file?

I have tried to save the JPG file as an TIF file in Paint and save the JGW file to an TFW file with Notepad, but it doesn't work in my cartography program (OCAD) when I want to import the files. So maybe I have to transform the files in a different way.

DavidF, your answer was really helpful! I have two followup questions if you'd be willing to help. I used the exact commands you mentioned (gdal_translate -of GTiff myFile.jpg myFile.tif) to convert a georeferenced jpg to a geotiff, but the converted image is distorted such that it is no longer correctly georeferenced. Do you know how to fix this? (See image here dl.dropbox.com/u/17669584/gdal_translate%20error.JPG. Sorry, I don't have enough reputation points to post an image on stackexchange. The left image is the georeferenced jpg. The right image is the converted geotiff, and purple
–
StavrosFeb 20 '13 at 23:05

Ah, it was a .tfw file I meant, it was a typo by me. I have updated my question.
–
JonasSep 30 '10 at 13:49

Is gdaltranslate a unix software or so? Where can I get it and is it available for Windows?
–
JonasSep 30 '10 at 14:16

1

gdaltranslate is one of the commandline utilty tools that are part of gdal [gdal.org/]. gdal is used by both OpenSource and ESRI (raster only) tools to provide support for reading/writing raster and vector data. For windows, the easiest way to install it is to either use the OSGEO4W installer or the FWTools installer. The OpenSource Desktop GIS QGIS has a plugin called GDALTools which allows you to do this using a gui tool.
–
DavidFSep 30 '10 at 16:46

In Quantum GIS (QGIS) 1.8, you can do this very easily: just go to Raster -> Conversion -> Translate (Convert format). Then you can convert loaded layer in QGIS, single files or whole folder in batch mode. You may need to enable the GDALTools plugin first.