There are optional flags that you can use when invoking PMView. You can specify the flags in any mix of upper and lower case. You can specify the flags in any order you like, before or after the file name. Only the first three letters are important (which is why they are highlighted below). Here's the complete list of command-line switches:
/Print: This will launch PMView's print dialog that lets you print the specified file(s).
Sample use: pmview /pri file.jpg
/Script=scriptfile: This lets you run a scripted batch conversion on the specified files. If the script file is located in the Scripts folder it is sufficient to specify the file name only. Otherwise you need to specify the full path to the script file. (The Script Editor can be found in the File Convert dialog that you can access from the main menu or from the file object popup menu in the file open or file save windows).
Sample use: pmview /scr=myscript file.jpg
pmview /scr=myscript c:\photos\*.jpg
/Log file=fullfile: This specifies the path and name of the "log file" where PMView should store debugging information in case it crashes. If you contact us with a bug report, we may want to know what your log file says.
Sample use: pmview /log=c:\pmview\pmview.log
/Red=num: This specifies a level for red balance. The number can be from -100% (no red) to 100% (maximum red).
/Gre=num: This specifies a level for green balance. The number can be from -100% (no green) to 100% (maximum green).
/Blu=num: This specifies a level for blue balance. The number can be from -100% (no blue) to 100% (maximum blue).
/Bri=num: This specifies a level of brightness. The number can be from -100% (minimum brightness) to 100% (maximum brightness).
/Con=num: This specifies a level of contrast. The number can be from -100% (minimum contrast) to 100% (maximum contrast).
/Color=num: This specifies a level of color. The number can be from -100% (minimum color) to 100% (maximum color).
/Gamma=num: This specifies a gamma value. The number can be from 0.010 (minimum gamma) to 10.00 (maximum gamma).
/Grayscale: If this flag is specified, PMView will convert loaded images to shades of gray.
/Negative: If this flag is specified, PMView will show loaded images in negative.
/Zoom: This lets you set the initial zoom percentage.
/WPos=(Left,Bottom,Width,Height,Flags): This flag determines the initial position and size of PMView's main window. Click here for more information on the /WPos switch.
/Shortfileretry: This flag will let PMView wait for more data to be available when PMView is loading an incomplete file and comes to an unexpected end of the file. Click here for more information on the /Sho switch.
Warning! This switch affects the performance of PMView
Example: Suppose you want to have maximum contrast, you want to be in negative mode, and you want PMView to start in the foreground and load the file CUBE.GIF. You could do all this by entering the following at a command prompt:
pmview /con=100 /neg /WPos=(,,,,For) cube.gif