MneExperiment
Image.
from_file
Create an Image object from an existing image file.
path (Union[Path, str]) – Path to the image file.
Union
Path
str
name (Optional[str]) – Name for the file (the default is os.path.basename(path) without extension.
Optional
os.path.basename(path)
alt (Optional[str]) – Alternate text, placeholder in case the image can not be found (HTML alt tag).