Вот как вы можете сделать это без импорта каких-либо модулей:
with open('pic1.png','rb') as r:
pic = r.read()
for n in range(1,101): # Note that the 1 can be changed to a 2 because pic1.png is alrady there
with open(f'pic{n}.png','wb') as w:
w.write(pic)
Эта программа сгенерирует 100 дубликатов изображений в каталог, в котором находится файл python.
Если вы хотите сгенерировать их в другой папке:
path = "C:\\Users\\User\\Desktop\\Folder\\" # Path of the folder you want to store the copies
with open('pic1.png','rb') as r:
pic = r.read()
for n in range(1,101):
with open(f'pic{n}.png','wb') as w:
w.write(pic)