Command Line
This article describes the current command line options for Pano2VR.
pano2vr [-x] [-t <filename.p2vr>] <input file> <input file> ...
pano2vr --cli [options] [-t <filename.p2vr>] <input file> <input file> ...
-x: This option executes the following input files. If the input file is a
.p2vr file the result is the same as hitting the Generate Output button.
-t <filename.p2vr>: This option selects a .p2vr file as a template. For all
subsequent input images a Generate Output is executed on this image. The input
section in the template file is ignored.
--createtour: With this option, all input images are assembled into a single
tour instead of processing the images one by one
--autolink: Try to automatically link the nodes of a tour if GPS data is
present in EXIF/XMP data
--nogui: Suppress focus for the main GUI
--createprojectfile: Store the project file with the input image(s)
<input file>: This can be an image or file format supported as an input for
Pano2VR. Support Formats
Command Line Mode
--cli: Runs Pano2VR without its graphical interface, for example on a build
server or in a script. Every .p2vr file given is exported, so -x is not
needed; images are processed with the template given with -t. --createtour,
--autolink, and --createprojectfile work as described above. Pano2VR must be
activated with a valid license key on the computer first.
--outputlist: Together with --cli, prints the output file of every output of
the given .p2vr files instead of exporting them. For a web output, this is the
HTML file. A project that can’t be opened returns the exit code 1.
Exit Codes
When Pano2VR exports from the command line, it returns an exit code that scripts and CI pipelines can check:
0– All outputs were generated successfully.1– An export failed, for example because of a missing input file, or a project can’t be opened. Pano2VR still generates the remaining outputs of the project.2– The export was cancelled in the progress dialog.99– Only with--cli: Pano2VR is not activated with a valid license key.