Post#1 by tim » 29 Jun 2018, 20:21

invert_colors.zip zipped .py file (unzip, put in your GIMP's /plug-ins/ folder) Tested in GIMP 2.8 and GIMP 2.10 (931 Bytes) Downloaded 112 times

invert_colors(2).zip version 2. Changed to not prompt user for image/layer as inputs as they're not needed (973 Bytes) Downloaded 126 times

Colors/Invert Foreground Color

Colors/Invert Background Color

If you don't have an image opened already, when you run script it'll ask for image and layer as input which aren't used/needed so you can just click "OK" to skip it and it'll run.

If you have an image opened already, when you run script, the script will automatically run without asking for any inputs.

As I was creating different banners, sometimes I needed a way to quickly invert the working foreground/background color.But I found myself having to draw using foreground color then invert it using Colors/Invert then use the color picker tool to pick that inverted color.I don't know if exists a quick way of inverted the foreground color or background color in GIMP, I searched for it but didn't find anything that mentioned how to do it.So I created this script. To quickly invert the working foreground color or working background color.Script Menu Location:andInstructions:Youtube video demonstrating usage of this script: