Merge images (image.oper_merge)
Declaration
status = image.oper_merge(image_file_list, output_path, merge_type, quality)
Parameters
- image_file_list
Table (array). File names to merge; absolute paths supported - output_path
String. Output file path; absolute paths supported - merge_type
Integer. 0 = horizontal merge; 1 = vertical merge - quality
Number. When output format is jpg, controls quality in range 0.0 ~ 1.0
Returns
- status
Integer. 0 = success; 1 = failed; 2 = failed; 3 = failed
Description
Default image directory is /var/mobile/Media/1ferver/res. Use absolute/relative paths for custom locations
Example
image.oper_merge({"1.png","2.png","3.png"}, "4.jpg", 0, 0.5)