You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Hellkeeper

Intermediate

  • "Hellkeeper" started this thread

Posts: 146

Location: St. Johann in Tirol

  • Send private message

1

Thursday, August 10th 2017, 6:48pm

kmakemultires thumbsize ignored?

Hey there,
got this Thumb Config for my kmakemultires:

Source code

1
2
3
4
# create Thumb
makethumb=true
thumbsize=900
thumbpath=%INPUTPATH%/../thumb.jpg


But the thumbsize is ignored and the thumb is made 512x512px in size?!
How to tell kmakemultires to make it 900px?

thx
Andreas Schnederle-Wagner
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

Hellkeeper

Intermediate

  • "Hellkeeper" started this thread

Posts: 146

Location: St. Johann in Tirol

  • Send private message

2

Thursday, August 10th 2017, 6:52pm

whole config:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# basic settings
panotype=autodetect
hfov=360

# output
flash=true
html5=true

# 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%/../tiles/[mres_c/]l%Al/%Av/l%Al[_c]_%Av_%Ah.jpg

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

# create Thumb
makethumb=true
thumbsize=900
thumbpath=%INPUTPATH%/../thumb.jpg

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

# generate special optimized, non-tiled, lower-res images for VR
customimage[vr].size=1536
customimage[vr].path=%INPUTPATH%/../vtour/panos/tiles/vr/pano_%s.jpg
customimage[vr].imagesettings=jpegquality=82 jpegsubsamp=444 jpegoptimize=true
customimage[vr].xmlsceneparameters=havevrimage="true"
customimage[vr].xmlimageparameters=if="!webvr.isenabled"
customimage[vr].xmllevel=krpano
customimage[vr].xml=<image if="webvr.isenabled">[NL][TAB]<cube url="[PATH]" />[NL]</image>

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

# skin / xml template
include my.skin

# html output/template
html=false
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

3

Tuesday, August 15th 2017, 10:52am

Hi,

the setting is not ignored, but the value range of that setting is currently limited at 512px.

Do you really want larger thumbnail images?
They will be ALL loaded and their memory-need needs to be respected! (the minimum memory-need in bytes is: width x height x 4 - so one 900x900 image already needs ~3MB!)

Best regards,
Klaus

Hellkeeper

Intermediate

  • "Hellkeeper" started this thread

Posts: 146

Location: St. Johann in Tirol

  • Send private message

4

Wednesday, August 16th 2017, 5:49pm

Hey Klaus,

thx for the Answer.
May I ask WHERE / for what the Thumbnail Image is loaded in krpano player?
Do you mean they are all loaded within Scenes Thumb-Stripe? Or something else?

thx
Andreas
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

5

Wednesday, August 16th 2017, 9:20pm

Hi,

the vtourskin.xml is using them for the thumbnail bar.

If you have a very big tour with many panos the size of the thumbnails can be an important memory and loading factor.

Best regards,
Klaus

Hellkeeper

Intermediate

  • "Hellkeeper" started this thread

Posts: 146

Location: St. Johann in Tirol

  • Send private message

6

Thursday, August 17th 2017, 9:39am

Hey there,
alright - makes sense! ;-)

In our Case this wouldn't pose any problem as we run the Thumbs through Image Wrapper before embedding them into the Thumb-Bar. (thumburl="'.$rbStaticDomain.'/userdata/6282/pano/'.$scene['id'].'/thumb.jpg?width=240") <-- So all of the Thumbs are resized to 240x240 before outputting them ...
The higher Resolution Image is just used on the Web-Page for Preview of the Pano ...
But I guess I need to create another, larger Thumbnail for that if the Limit is 512px.

thx, bye from Tirol
Andreas

ps) Maybe you could add the Information of the 512px Limit to the Documentation: https://krpano.com/tools/kmakemultires/config/#thumbsize ;-)
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at