Author Topic: Hugin GUI startup parameters  (Read 14095 times)

Offline nedosa

  • Newbie
  • *
  • Posts: 5
    • View Profile
Hugin GUI startup parameters
« 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

Offline Martin

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 613
    • View Profile
Re: Hugin GUI startup parameters
« Reply #1 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
Hugin Expert A/S

Offline nedosa

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Hugin GUI startup parameters
« Reply #2 on: July 31, 2008, 17:03:00 »
yeah that helps, thanks.