Viewer4d - Invoking the program

The viewer4d is a program with graphical user interface. It can be, therefore, invoked directly (without any command line parameters). The next step will typically be clicking the File->Open item to pop up the Open dialog... However, the program accepts also command line parameters.

The syntax is viewer4d [-command] [img1] [img2] ... [imgN] indicating an optional command as the first parameter followed by arbitrary many files. If no command is specified, the viewer4d starts with opened Open dialog in which the command line files will be pre-loaded into the middle panel. If, for instance, the command -seq is given, the viewer4d will try to directly open (without showing the Open dialog) the files from the command line as a sequence of images. Execute viewer4d --help or viewer4d.exe -help to see the current list of accepted commands. The utilization of the command line (and the commands) may prove useful when setting up associations between the viewer4d application and certain image file formats.


Figure: Example of altered context menu in KDE on Linux