I want to create a white background in my gimpfu plugin. I found the option to fill a drawable by using pdb.gimp_drawable_fill(drawable, 2) but there I have to select a drawable and the drawable fills not automatically the whole image.
Is there an option in gimpfu to fill the whole image with one color?
In Gimp you have to paint/fill on a layer, so you add a layer that you fill:
if you want something else than white, then replace
background.fill(FILL_WHITE)with