PanGazer logo PanGazer – command line options


Download PanGazer

Getting started

General settings

Setting North

Saving views

Saving images

Sharing images

Image geography

Show image location



Aspect ratio

Making panoramic images

Keyboard shortcuts

Command line options

The gnomonic projection


PanGazer supports various command line parameters; these may be options (words prefixed by ‘’ and which are case-independent) and/or the names of one or more image files to be loaded when PanGazer starts (also case-independent). The name of an image file may be enclosed in double-quotes, which allows paths and filenames with blanks to be used.

If you associate the file type (extension) of an image (e.g., .jpg or .png) with PanGazer, for example by using Default Programs in the Windows Control Panel, then clicking on a file with such an extension will open PanGazer and load the image file. If PanGazer is already started then the new image will replace the image in the current view.

The available options are:
-diag – turn on extra diagnostic messages (this also shows the Console)
-diagmsg – add verbose Windows messages reporting (implies -diag)
-test – enables special development test code (implies -diag)

The options and the name of the image file may appear in any order. Some examples:

  pangazer -diag

  pangazer "m:\pix\OldSpeleo.jpg"

  pangazer "m:\pix\oldspeleo.jpg" -diag

The second example shows the parameter passed if .jpg is associated with PanGazer and the file m:\pix\OldSpeleo.jpg was clicked in Windows Explorer.

If more than one image file name is specified then the second and subsequent images are opened in a new window. If PanGazer is already running, all the images are opened in a new window.

PanGazer and these web pages were written by Mike Cowlishaw; Please send me any corrections, suggestions, etc.
All content Copyright © Mike Cowlishaw, 2014–2020, except where marked otherwise. All rights reserved. The pages here, and the PanGazer program, are for non-commercial use only.
Privacy policy: the Speleotrove website records no personal information and sets no ‘cookies’. However, statistics, etc. might be recorded by the web hosting service.

This page was last updated on 2018-12-12 by mfc.