automate virtual tour creation from php using different type of image

  • 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?

  • 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 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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!