Hi,
As I said in the subject I'm trying to automate the process of creation of a virtual tour using different type of images (flat, sphere, cylinder, etc. etc.).
Using the droplet the script ask to user which kind of image to choose if it cannot be understand.
In my script I need to force the type of each single image, is it possible?
automate virtual tour creation from php using different type of image
-
-
The droplets are just a front end for krpanotools. You can use your own logic based on the dimensions and ratios of width to height to determine the input image types.
-
That's a snippet of my code:
Code$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 toursTo be honest I don't know how to accomplish this task.
Anyone could suggest me how to do this or a better solution?
TYA
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!