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...")
 
(Media Commons)
Line 12: Line 12:
 
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 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.
 
The final image in the example will be output.tif.
 +
 +
To make the image show up in the menu, copy it to /home/demo/data.

Revision as of 09:46, 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.

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