That's a snippet of my code:
|
Quellcode
|
1
2
|
$cmd = "krpanotools makepano -config=myconf.config ".$array_of_images;
$results = shell_exec($cmd);
|
$array_of_images is my images list, which is composed by different kind of images,
In myconf.config panotype is set to autodetect.
If the type of a single image cannot be understand the script ask to choose the type: this could be managed using a solution described
here .
Problem with krpanotools comand line
This runs well for a single image but I don't think could be used for a set of images.
I guess the a solution could be:
- detect single image type
- make virtual tour for single image
- merge all the virtual tours
To be honest I don't know how to accomplish this task.
Anyone could suggest me how to do this or a better solution?
TYA