Description: |
Add a new photograph to the project. |
Syntax: |
"AddPhoto ID cName imageFile" where: ID is a unique identifier number for the photograph (>=1), "cName" is the name of the camera to be assigned to the photograph (must have already been defined by command above), and "imageFile" is optional and is a path name to an image file. |
Return: |
"1" if successful or "0" if not. Failure returns - insufficient number of parameters - no project is open - 'ID' photo already exists in project - 'cName' does not exist in project - ‘imageFile’ file does not exist on disk |
Example: |
"AddPhoto 1 nikon1 c:\images\img1.jpg" return: "1" |