Command Source_SaveImage
Using of command
This command is use for save picture to picture file. Command use OpenCv function cvSaveImage.Selected picture will be save
to picture file.
Following file formats are suported:
- Windows bitmaps - BMP, DIB
- JPEG files - JPEG, JPG, JPE
- Portable Network Graphics - PNG
- Portable image format - PBM, PGM, PPM
- Sun rasters - SR, RAS
- TIFF files - TIFF, TIF
- OpenEXR HDR images - EXR
- JPEG 2000 images - jp2
Commands parameters
Function has 2 parameters:
- Source picture:You can select one of used picture from where picture will be saved.You can select Picture_0 to Picture_19.
- Path to picture file: This parameter sets path and file name for picture file which will be saved.Click on this parameter line
open Save file dialog, where user can select picture file. Type of picture file depends on file extension, so extension must be one of suported format.
Error codes
- Error code -11:Bad picture position. This error means error in first parameter. Picture is not in range Picture_0 to Picture_19.
- Error code -100:OpenCV error: This error is error inside OpenCv function cvSaveImage. Error decription is display in result window. Reason for this error can be bad picture extension,bad path, picture can not be save in selected directory (Check write permision for selected directory)