void sod_embed_image(sod_img source, sod_img dest, int dx, int dy);
Embed one image on top of another. For a standard image composite operation, you should rely on sod_composite_image() instead.
The source or the composite image. 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().
The destination image that is going to hold the final result.
The x-coordinate, in logical units of the offset where to put the source image into dest.
The y-coordinate, in logical units of the offset where to put the source image into dest.
None. In-place operation where the output is stored into the dest parameter this interface takes.
Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.
sod_canny_edge_image • sod_image_draw_box • sod_image_find_blobs • sod_hough_lines_detect • sod_crop_image • sod_composite_image.