I am saving images with count function like below
count = 0
new_im.save("C:/Users/"+str(count)+".jpg", "JPEG", quality=100, optimize=True, progressive=True)
count += 1
The images' names will be 1.jpg, 2.jpg, 3.jpg, etc.
How to make it save as 001.jpg, 002.jpg, 003.jpg?