How can i copy only item picture not other attachments

Hello
Is it any way to copy only item picture from erpnext not other jpg files in public folder ?
I have about 6000 items , for some items picture size is not standard i want to copy all item picture and with batch picture resizes or any other software edit it and again copy back to public folder , what’s best way ?
Regards

You have to select attachment of image>>then image will be open in new tab >> save as image

problem all other document we scan and attach to documents also jpg or png ,

hi, your Item has field image
so, you can select all Image names from Item

images = frappe.db.sql(“”“SELECT image from tabItem”“”)

and then you’ll have all image’s names in images tuple