Brain.image(name=None, format='png', alt=None, mode='rgb')

Create an FMText Image from a screenshot

  • name (str) – Name for the file (without extension; default is or ‘brain’).

  • format (str) – File format (default ‘png’).

  • alt (None | str) – Alternate text, placeholder in case the image can not be found (HTML alt tag).

  • mode ('rgb' | 'rgba') – 'rgb' to render solid background, or 'rgba' to include alpha channel for a transparent background (default).