Convert TIFF/JPEG to JPEG or TIFF


Propeller's standard GeoTIFF orthophoto files use JPEG compression within the TIFF file for maximum quality and minimum file size. However, AutoDesk doesn't let you open JPEG-compressed TIFFs.If you need a JPEG file, you can convert it from the TIFF to a geolocated JPEG file with the instructions below. Alternatively, you can convert the JPEG-compressed TIFF file to a standard uncompressed TIFF.
Size warning for uncompressed TIFF: these files can get very large—they are likely to at least double in size after conversion.
Resolution warning for JPEG: Note that the JPEG file standard only allows images to have a maximum height or width of 65,535 pixels, so the conversion process may reduce your image's resolution.

Creating a .JPEG file

  1. Install GDAL for your operating system.

  2. Open Command Prompt (Windows) or Terminal (Mac) to run GDAL commands.

  3. Run the following command:

gdal_translate -of JPEG -co WORLDFILE=YES /path/to/source/file.tif /path/to/destination/file.jpg

Note the space between the input ( /path/to/source/file.tif) and the output (/path/to/destination/file.jpg) location.

This command creates a file in JPEG's specified output format ('-of'). It adds the conversion option ('-co') to create a matching WORLDFILE that geolocates the image (it will be a .wld file; other packages create a .jgw file).

Then specify the location of the file you want to convert and follow that with the location of where you want to put the output JPEG (.wld file will be put in the same directory). You can zip the .jpg and .wld files together and upload back to your portal to share this file via Propeller.

To create an uncompressed TIFF file 

The steps are the same as the above, but with this command instead (to specify the GTIFF format):

gdal_translate -of GTIFF /path/to/source/file.tif /path/to/destination/file.tif
Note the space between the input ( /path/to/source/file.tif) and the output (/path/to/destination/file.jpg) location.

I still can't do it!

We wrote these articles to equip you with everything you need to get the job done on your own, but we understand that sometimes this isn't sufficient.

If you're stuck, the Propeller data success team may be able to help. You can contact our support team by clicking the support tab on the top-right pane of your user portal.

Related to