Thank you so much. I will try it
Just a question. All the images in the batch are of same size.
The code generates output for some files and error for the rest.
How’s that possible if all files have identical properties ?