# Multi-Resolution Panos
# Skin with Default Buttons
# Documentation: http://krpano.com/tools/kmakemultires/config?version=10815
# krpano tools 1.0.8.15

# basic settings
include basicsettings.config
panotype=autodetect
hfov=360
html5=auto

# convert spherical/cylindrical to cubical
converttocube=true
converttocubelimit=360x45

# multiresolution settings
multires=true
tilesize=512
levels=auto
levelstep=2
maxsize=auto
maxcubesize=auto
leveldownload=auto

# output images path
tilepath=%INPUTPATH%/../b/l%Al/%Av/l%Al[_c]_%Av_%Ah.jpg

# preview pano settings
preview=true
graypreview=false
previewsmooth=25
previewpath=%INPUTPATH%/../s.jpg

# generate smaller mobile images
customimage[mobile].size=1024
customimage[mobile].path=%INPUTPATH%/../mobile/mobile_%s.jpg
customimage[mobile].imagesettings=jpegquality=85 jpegsubsamp=444 jpegoptimize=true
customimage[mobile].xml=<mobile>[NL][TAB]<cube url="[PATH]" />[NL]</mobile>

# xml output
xml=true
xmlpath=%INPUTPATH%/../b.xml

# skin / xml template
include defaultbuttons.skin

# html output/template
html=false
htmlpath=%INPUTPATH%/%BASENAME%.html
htmltemplate=html/swfkrpano.html
htmltemplate_js=html/swfkrpano.js

# compression settings (no jpegoptimize for very big panos)
jpegquality=82
jpegsubsamp=422
jpegoptimize=false
