hdmake (v1.11): generates an HD View tiled image set from an input image
arguments:
-src image.{tif|jpg|png|wdp|bmp}
-srcgrid grid_width grid_height
images[1->width][1].{tif|jpg|png|wdp|bmp} ...
images[1->width][height].{tif|jpg|png|wdp|bmp}
-srcgridfile grid_width grid_height filename
-quality(0-1)
-xmlflat filename
-xmlcntrsphere filename hfov
-xmlsphere filename thetamin thetamax phimin phimax
-xmlcntrcyl filename hfov
-xmlcyl filename thetamin thetamax phimin phimax
-xmlcntrspheretrans filename vfov
-xmlspheretrans filename phimin phimax thetamin thetamax
-xmlcntrcyltrans filename vfov
-xmlcyltrans filename phimin phimax thetamin thetamax
-xmlwlpg filename
-xmlautopano filename
-viewer {0 = hdview, 1 = deepzoom, 2 = dual}
-html
-extension {jpg|png|wdp}
-tileformat {0 = flat, 1 = hierarachy, 2 = Seadragon}
-notiles
-nozip
-zipsize size (MB)
hdmake -quality 1 -src vystava.jpg -xmlcyl cyl.xml 0 360 30.5 145.5 -nozip
HDMake: Begin -> opening source image(s)
HDMake: 50% 100%
HDMake: End -> opening source image(s) (took 0.02 seconds)
HDMake: Begin -> saving output tiles
HDMake: 0% 13% 25% 38% 50% 63% 75% 88% 94% 98%
HDMake: End -> saving output tiles (took 0.18 seconds)
<?xml version=1.0
?>
<root>
<imageset
url=vystava_files\{l}\{c}_{r}.jpg
levels=13
width=2891
height=301
projection=cylindrical
thetaMin=0.000000
thetaMax=360.000000
phiMin=32.500000
phiMax=147.500000
rollPitchYaw=0.000000 0.000000 0.000000
maxZoom=2.000000
tileWidth=254
tileHeight=254
tileOverlap=1
/>
</root>
option html - page cyl.htm
hdmake -quality 1 -src vystava.jpg -xmlcyl cyl.xml 0 360 30.5 145.5 -html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="height:100%">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>HD View</title>
<script type="text/javascript"
src="http://research.microsoft.com/en-us/um/redmond/groups/ivm/HDView/HDView2.js"></script>
<script type="text/xml" id="hdvxmlembed">
<?xml version="1.0"?>
<root>
<imageset
url="cyl_files/{l}/{c}_{r}.jpg"
levels="13"
width="2891"
height="301"
projection="cylindrical"
thetaMin="0.000000"
thetaMax="360.000000"
maxZoom="3.000000"
tileWidth="254"
tileHeight="254"
tileOverlap="1"
/>
</root>
</script>
</head>
<body style="margin: 0; height:100%">
<div id="hdvDiv" style="background-color: black; text-align: center;
height:90%">
<script type="text/javascript">
var args;
if ( top.location.search == "" ) {
args = 'FileName=#hdvxmlembed&BackgroundColor=0&Viewer=2';
}
else {
args = top.location.search.substring(1);
}
hdv = new hdvHost("hdvControl", "hdvDiv", "100%", "100%",
top.location.href, args);
</script>
</div>
<div style="height: 10%; background-color: #303030; font-size: large;
font-family:Arial, Helvetica, sans-serif;">
<table style="width: 100%">
<tr>
<td style="text-align: left;">
<form method="post">
<input name="Button1" type="button" value="Save
Specific View" onclick="hdv.permalinkPopUp()"/>
</form>
</td>
<td style="text-align: right;">
<span style="color: #D6E3E7"><em>Powered by Microsoft
Research</em></span>
<a
href="http://research.microsoft.com/en-us/um/redmond/groups/ivm/HDView.htm">HD
View</a>
<a
href="http://research.microsoft.com/en-us/um/redmond/groups/ivm/HDView.htm">
<img
src="http://research.microsoft.com/en-us/um/redmond/groups/ivm/HDView/images/HDView_Logo_Small.jpg"
alt="" border="0"/></a>
</td>
</tr>
</table>
</div>
</body>
</html>