I have a function
$result = create_watermark( 'input_file_name' ,'output_file_name');
I have directory called /images with 500 images in it. The files are all named images_(some_unknown_numbers).png (all png). Now I want run them through a function in a loop and want to output /markedimage/images_1.png, images_2.png, images_3.png and so on.
I want to run this script on Ubuntu so we can use shell too
How can I do this?
1 Answer