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.

nosferatu

Trainee

  • "nosferatu" started this thread

Posts: 80

Location: Ukraine

  • Send private message

1

Tuesday, September 3rd 2013, 7:27pm

How to droplets retiles.bat?

Hello there!
I want to make retiles.bat
In the config file I have the following code:

Source code

1
2
3
4
5
inputfile=c:\tiles\b\1\%v_%h.jpg 
outputfile=c:\tiles\pano_b.tif 
inindexbase=0 
insize=1768x1768 
intilesize=884x884

In the bat file:

Source code

1
2
"%~dp0\kmaketiles" "%~dp0\main.config"%*
pause

When I click on the retiles.bat I get the info with kmaketiles.exe
And nothing more is done.
How to perform main.config file?

Thanks for any help!

nosferatu

Trainee

  • "nosferatu" started this thread

Posts: 80

Location: Ukraine

  • Send private message

2

Wednesday, September 4th 2013, 7:21am

I wrote the following code in bat file.
And it works!

Source code

1
2
3
4
5
6
7
8
9
10
11
@echo off
echo Retiles v.1

kmaketiles c:\tiles\l\1\%%v_%%h.jpg c:\tiles\pano_l.tif 0 -inindexbase=0 -insize=1763x1763 -intilesize=882x882
kmaketiles c:\tiles\f\1\%%v_%%h.jpg c:\tiles\pano_f.tif 0 -inindexbase=0 -insize=1763x1763 -intilesize=882x882
kmaketiles c:\tiles\r\1\%%v_%%h.jpg c:\tiles\pano_r.tif 0 -inindexbase=0 -insize=1763x1763 -intilesize=882x882
kmaketiles c:\tiles\b\1\%%v_%%h.jpg c:\tiles\pano_b.tif 0 -inindexbase=0 -insize=1763x1763 -intilesize=882x882
kmaketiles c:\tiles\u\1\%%v_%%h.jpg c:\tiles\pano_u.tif 0 -inindexbase=0 -insize=1763x1763 -intilesize=882x882
kmaketiles c:\tiles\d\1\%%v_%%h.jpg c:\tiles\pano_d.tif 0 -inindexbase=0 -insize=1763x1763 -intilesize=882x882

pause


But how to do it in the file.config?
Who ever tell me *confused*

3

Thursday, September 5th 2013, 2:49pm

Hi,

there is no config file for the kmaketiles tool.

See here for all available settings:
http://krpano.com/tools/kmaketiles/#top

Best regards,
Klaus

nosferatu

Trainee

  • "nosferatu" started this thread

Posts: 80

Location: Ukraine

  • Send private message

4

Thursday, September 5th 2013, 3:10pm

hmm, thanks!