The method AddPhoto adds a photo to the list of calibrated background photos. The filename of the photo is specified by the parameter FName. The function returns the following error codes:
>0 ... everything is OK, the returned value is index of the added photo
-1 ... cannot access file
-2 ... the photo file is not a JPG file
-3 ... the photo file is not in the same folder as the currently loaded data
|