| PanGazer – command line options |
Introduction Download PanGazer Getting started General settings Setting North Saving views Saving images Sharing images Image geography Show image location Overlays Spherical fills Enhancements Aspect ratio Making panoramic images The gnomonic projection Coordinate formats Keyboard shortcuts Command line options Saved metadata Thanks | 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`)
`−logextra` | – | writes certain progress reports to the file ‘PanGazer-log.txt’ in the PanGazer install or data directory. Use the Settings→Diagnostics→Open log folder menu item to find the log. Extra logging can also be toggled using the Settings→Diagnostics→Log extra diagnostics menu item. Any existing log file is erased when logging is first started.
`−logmsg` | – | writes Windows message reports to the file ‘PanGazer-log.txt’ in the PanGazer install or data directory. Use the Settings→Diagnostics→Open log folder menu item to find the log. Message logging can also be toggled using the Settings→Diagnostics→Log received messages menu item. Any existing log file is erased when logging is first started. Note that this option will slow the normal operation of PanGazer.
`−logall` | – | turns on both `−logextra` and `−logmsg`. Note that this option will slow the normal operation of PanGazer.
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–2025, 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 2021-12-27 by mfc. |