Syntax
void sod_img_save_to_cv_jpg(sod_img input, const char *zPath);
Description
Save a sod_img object in a file on disk via OpenCV cvSaveImage(). The library must be compiled against OpenCV with the compile-time directive SOD_ENABLE_OPENCV defined.
Parameters
sod_img input
The input image to be saved. The image can be loaded from disk using sod_img_load_from_file(), from memory (i.e. network socket) via sod_img_load_from_mem() or dynamically created via sod_make_image() and processed using the image processing interfaces offered by sod.
const char *zPath
Destination path on disk.
Return Value
None.
Example
Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.
See also
sod_canny_edge_image • sod_image_to_blob • sod_hough_lines_detect • sod_img_blob_save_as_png • sod_crop_image.