"Candelas Lumens and Lux" introduction to lighting  terms and calculations
"Candelas Lumens and Lux" introduction to lighting  terms and calculations




Save commands in PhotoView, the universal photometric file viewer converter and image generator.

There are three save commands possible in the Photoview command line.

You should always include the actual filenames in double quotes:

"C:\My Directory\Like This.LDT"

The quotes mean that filenames and directories with spaces are handled properly.

Combined with LOADFILE, the SAVE_FILE command means you can convert from one photometric format to another in a batch mode.

The main saving commands are:

  1. SAVE_FILE: Save the current photometric file in the format specified in the filename which follows the command line option. If the file is C:\MyPhotometries\XYZABC123.LDT then an Eulumdat file is saved. If the file is C:\YourPhotometry\DEF456.IES then an IESNA file is saved. This command does not care which tab has been selected, it simply saves the current photometry in the selected format.
  2. SAVE_IMAGE: In this case the image in the selected tab is saved in the format specified by the name of the file. If the file is C:\Photoms\GHJ876.PNG and the POLAR tab has been selected then a PNG file of the polar diagram of the current photometry will be saved. If the file is D:\FOTS\POI564A.JPG and the current tab is isolux then the isolux image will be saved as a JPG file. This command is useful for creating images for photometric catalogs. Note that you can save vectorial PS and EPS files with this command, just use the extension of the file type you want.
  3. SAVE_TEXT: If the selected tab contains textual information about the photometry will be saved (for example a UGR table or the US BUG classification or the cone openings, etc) then that text will be saved in the specified file. Usually the file ends with the .TXT extension. The decimal separator and field separator can be specified in the Options dialog of PhotoView.

If you want to load a file and then save it with changed text (flux, names, codes, CRI etc) then have a look at this page.

When using SAVE_IMAGE you can specify the height of the image using the IMG_HIGH 1024 option (1024 is an example). We specify the height rather than the width because it is important for getting the font heights correlated properly. The width is worked out using the aspect ratio of the image created.

(For printing there are three commands, PRINT_CUSTOM, PRINT_TITLED and PRINT_CUSTOM_TITLED.)


(c) 2017
Contact me if you have any questions about this page or PhotoView photometric viewer. PhotoView is part of a set of services and programs from OxyTech which can be bought with a 10% discount. Click here to find out more.