Difference between revisions of "Media Commons"
From Immersive Visualization Lab Wiki
(→Media Commons) |
(→Convert Image to Pyramidal TIFF) |
||
Line 13: | Line 13: | ||
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/ | + | To make the image show up in the menu, copy it to <tt>/home/demo/demo_content</tt>. |
Revision as of 10:34, 22 August 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/demo_content.