Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

Tourvista

Fortgeschrittener

  • »Tourvista« ist der Autor dieses Themas

Beiträge: 254

Wohnort: Leicester UK

  • Nachricht senden

1

Donnerstag, 11. Oktober 2012, 08:53

Generate rectangular thumbnails instead of square

Hello everybody!

As the title says, is it possible to generate a rectangular thumbnail instead of a square one?

In my config file I have

Quellcode

1
makethumb=truethumbsize=200/120thumbpath=%INPUTPATH%/output/scenes/%BASENAME%/thumb.jpg



But it generates a 200x200 squared thumb.

Cheers!

2

Freitag, 12. Oktober 2012, 18:12

Hi,

currently only square thumbs are possible:
http://krpano.com/tools/kmakemultires/config/#thumbsize

best regards,
Klaus

Sam Rohn

Schüler

Beiträge: 108

Wohnort: Brooklyn, New York

Beruf: Location Scout

  • Nachricht senden

3

Freitag, 12. Oktober 2012, 22:25

equirectangular thumbs

hi klaus

another vote here for non square thumbs

the ability to create a small equirectangular preview along with droplet pano output would be very useful to me, as i typically use another program to make a 800px wide equi which i use as a preview image linking to the pano from another page

it would also be my preference to use smaller equi previews with the tour droplet output

any chance this option might make it into a future release ?

thanks

sam
Sam Rohn :: 360° Panoramic Photography :: Location Scout :: New York City :: www.samrohn.com

PanoPress :: WordPress Plugin for 360° Panoramas in Flash & HTML5 :: www.panopress.org

HansNyb

Profi

Beiträge: 936

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

4

Samstag, 13. Oktober 2012, 12:35

It is very easy to take control of this.

I would never use the automatically generated thumbs for final delivery.
It is simply not possible to generate perfect thumbs automatically if you want them to look professional.

The default output saves all the different images in the same folder. This is not good for several reasons as the previews and the thumbs are named the same and it takes more time to open and replace them.

However it is very easy to change this in the config file.

My config looks like this:
# output images path
tilepath=%INPUTPATH%/vtour/panos/tiles/%BASENAME%.tiles/pano[_c].jpg

# preview pano settings
preview=true
graypreview=false
previewsmooth=25
previewpath=%INPUTPATH%/vtour/panos/previews/%BASENAME%-preview.jpg

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

# generate thumbnails
makethumb=true
thumbsize=240
thumbpath=%INPUTPATH%/vtour/panos/thumbs/thumb-%BASENAME%.jpg

As you can see I generate a folder for each of the image types. Also the mobile images are in one folder separately which means that it is much easier to make a special iPad version for offline.
You just delete the "tiles" folder and you now have a much smaller tour for the iPad. There is no problem leaving the links to the tiles in the xml.

You can now easy make your own thumbs in whatever size you want and at the top of the vtourskin.xml you just change the size and delete the crop option.

You also need to change the active border image in the skin vtourskin_thumbborder.png
With the default settings it should have the same size as the thumb + the border.
IYou can easy change it with a thinner border or with no round corners or what ever color you want.
Here is an example with equirectangular thumbs and with blue square border. I also added a shadow within the border.
http://www.panoramas.dk/panorama/krpano-thumbs/

Hans

5

Freitag, 11. Januar 2013, 05:17

I'd second the request. Right now, I have an extra step involved in my workflow to create rectilinear previews. It would be cool if one could just use, say,

Quellcode

1
2
3
4
5
thumbsize = 400x300
thumb_rx = ...
thumb_ry = ...
thumb_rz = ...
thumb_fov = ...


where rx, ry, rz and fov are as for the ktransform tool, in order to automatically generate a rectilinear preview straight through the droplets.

canadarama

Anfänger

Beiträge: 31

Wohnort: Canada

Beruf: Photographer

  • Nachricht senden

6

Donnerstag, 26. Februar 2015, 18:40

It is very easy to take control of this.

I would never use the automatically generated thumbs for final delivery.
It is simply not possible to generate perfect thumbs automatically if you want them to look professional.

The default output saves all the different images in the same folder. This is not good for several reasons as the previews and the thumbs are named the same and it takes more time to open and replace them.

However it is very easy to change this in the config file.

My config looks like this:
# output images path
tilepath=%INPUTPATH%/vtour/panos/tiles/%BASENAME%.tiles/pano[_c].jpg

# preview pano settings
preview=true
graypreview=false
previewsmooth=25
previewpath=%INPUTPATH%/vtour/panos/previews/%BASENAME%-preview.jpg

# generate smaller mobile images
customimage[mobile].size=1024
customimage[mobile].path=%INPUTPATH%/vtour/panos/mobile/%BASENAME%-mobile_%s.jpg
customimage[mobile].imagesettings=jpegquality=85 jpegsubsamp=444 jpegoptimize=true
customimage[mobile].xml=[NL][TAB][NL]

# generate thumbnails
makethumb=true
thumbsize=240
thumbpath=%INPUTPATH%/vtour/panos/thumbs/thumb-%BASENAME%.jpg

As you can see I generate a folder for each of the image types. Also the mobile images are in one folder separately which means that it is much easier to make a special iPad version for offline.
You just delete the "tiles" folder and you now have a much smaller tour for the iPad. There is no problem leaving the links to the tiles in the xml.

You can now easy make your own thumbs in whatever size you want and at the top of the vtourskin.xml you just change the size and delete the crop option.

You also need to change the active border image in the skin vtourskin_thumbborder.png
With the default settings it should have the same size as the thumb + the border.
IYou can easy change it with a thinner border or with no round corners or what ever color you want.
Here is an example with equirectangular thumbs and with blue square border. I also added a shadow within the border.

I know this is an old post but Hans, it has helped me out tremendously ...thank you! *thumbsup*

...wondering if you have any updated info for this based on 1.18? Most of what you have listed here works like a charm except:

# generate thumbnails
makethumb=true
thumbsize=240
thumbpath=%INPUTPATH%/vtour/panos/thumbs/thumb-%BASENAME%.jpg

...it seems to have no effect whether I include this in the config or not. I'll try to update this with a live example asap *smile*