Difference between revisions of "Media Commons"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Created page with "=Media Commons= ==Convert Image to Pyramidal TIFF== Example: <pre> gdal_translate -co "TILED=YES" original.tif output.tif gdaladdo -r average output.tif 2 4 8 16 32 64 </p...")

Revision as of 10:44, 22 May 2014

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.