forum.hugin.com

User Forums => HUGIN GUI Discussion => Topic started by: nedosa on July 28, 2008, 13:43:13

Title: Hugin GUI startup parameters
Post by: nedosa on July 28, 2008, 13:43:13
Hi,

Is there any documentation on the GUI startup parameters ? I'm trying
to programmatically launch hugin from within another application and would
be useful to know how what parameters are supported.

Many Thanks
Title: Re: Hugin GUI startup parameters
Post by: Martin on July 29, 2008, 11:04:44
Dear User

The only startup parameters supported by the Hugin GUI is a list of network files to open when the GUI is started.

E.g. on windows using the Hugin launcher:
hugin.exe file1.net file2.net file3.net

The Hugin GUI is a java application, so it can be launched directly without the Hugin launcher. In that case one must supply a few extra parameters which are normally set by the launcher:
javaw -DHUGINHOME=<hugin-install-path> -Djava.library.path=<hugin-install-path>\bin -classpath <hugin-install-path>\lib\hgui.jar -Xmx512m COM.hugin.HGUI.Hugin file1.net file2.net file3.net

You can use java or javaw as you like - the launcher uses javaw.
On Windows (for Hugin 6.9) the java version must be 1.5.


I hope this helps.

Regards,
Martin
Title: Re: Hugin GUI startup parameters
Post by: nedosa on July 31, 2008, 17:03:00
yeah that helps, thanks.