Media Commons

From Immersive Visualization Lab Wiki
Revision as of 11:34, 22 August 2014 by Jschulze (Talk | contribs)

Jump to: navigation, search

Media Commons

Convert Image to Pyramidal TIFF

Example:

 gdal_translate -co "TILED=YES" original.tif output.tif
 gdaladdo -r average output.tif 2 4 8 16 32 64

The first command will tile the image which helps with performance. The second will add overviews: 2 4 8 16 32 64 (each number is a split level (so this will create 6 levels - you can create more but making a tile smaller than 256 by 256 is pointless). The final image in the example will be output.tif.

To make the image show up in the menu, copy it to /home/demo/demo_content.