The Python console can be used to add extra functions and run scripts in the image viewer.
Tiffany Antopolski
tiffany.antopolski@gmail.com

Creative Commons Share Alike 3.0

David Lodge
dave@cirt.net 2017
Zander Brown
zbrown@gnome.org 2020
Bruce Cowan
bruce@bcowan.me.uk 2020

# Python console

The image viewer has a plug-in system which uses the Python scripting language. If you activate the Python console, you can gain direct access to a Python interpreter from inside the image viewer, which you can then use to write scripts or programmatically manipulate images, for example.

In order to enable this feature, you need to have installed eog-plugins.

Once eog-plugins is installed, press the menu button in the top-right corner of the window, select Preferences, and go to the Plug-ins tab.

Check Python Console and close the dialog.

Click the Python Console menu item to bring up the console.