I’m creating a small panel to perform batch resizing
this small code allows me to open all the files contained in a folder
but I would like to open them one at a time
the flow should be like this:
opens a photo, resizes it, closes the image and opens the other photo,
I have already created the script to resize and save
I only need the function to open one file at a time
What happens next in your loop? Is this cut of the pasted script intentional? You can skip the resize and save. Do you close the file after that? Based on what is visible, it seems it should work on files one by one
Karmalaka The above script loads me all the photos that are in the folder I indicated in lgetEntryWithUrl.
He doesn’t upload them to me one at a time but all at once.
The resizing script is not included.
So I need a script that, once the folder has been indicated, opens one file at a time and not all at once as happens now.
I hope I explained myself well.
Yes, that’s right once the folder is indicated it opens all the files contained in it. These strings below are the continuation, Where I specify where to save the file.