[GIS] How to transform a georeferenced JPG to a georeferenced TIF

file formatsgeoreferencing

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.

See also How can I open a georeferenced JPG file in OCAD?

Best Answer

You could use gdaltranslate.

gdal_translate -of GTiff  myFile.jpg myFile.tif

This will actually give you a geoTiff, not a tiff with a world file.

You could also try renaming your 'TGW' file to a 'TFW'.