Save new image in ignition image management by python

Hi

I’d like to how to save new images in image management system of ignition in python.

Thnaks for any help.

Im able to create a new folder with
https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.12/com/inductiveautomation/ignition/gateway/images/ImageManager.html

I dont immediatly find the correct path to copy an image to it tho

	from com.inductiveautomation.ignition.gateway import IgnitionGateway	
	IgnitionGateway.get().getImageManager().insertImageFolder("MyNewFolder",None)

ImageManager is the way to go, but it's going to be complicated.