Post Reply 

gimp-edit-fill and "Other fill modes should not be used."

May 31, 2012, 19:27
Post: #1
gimp-edit-fill and "Other fill modes should not be used."
On the Script-Fu Procedure Browser the function gimp-edit-fill shows the following description:
Quote:This procedure fills the specified drawable with the fill mode. If the fill mode is foreground, the current foreground color is used. If the fill mode is background, the current background color is used. Other fill modes should not be used. This procedure only affects regions within a selection if there is a selection active. If you want to fill the whole drawable, regardless of the selection, use 'gimp-drawable-fill'.

What does "Other fill modes should not be used." mean? Other fill modes could crash Gimp? In particular, how can a script fill a selection with alpha color if it shouldn't do by this function?
Find all posts by this user
Quote this message in a reply
May 31, 2012, 23:16
Post: #2
RE: gimp-edit-fill and "Other fill modes should not be used."
Likely it just means they won't work.

To make a a selected area transparent, you can use gimp-edit-bucket-fill with a 0% opacity or the much simpler gimp-edit-clear.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 1, 2012, 07:19
Post: #3
RE: gimp-edit-fill and "Other fill modes should not be used."
I ignored gimp-edit-clear so my improvised fallback was to fill a layer mask.
Thank you.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Script-fu: How to create new, addressable layer using gimp-floating-sel-to-layer Bertholom√§us 2 143 Aug 31, 2017 14:32
Last Post: Bertholomäus
  Late binding / COM for opening an image into GIMP? i73 2 124 Aug 4, 2017 17:39
Last Post: i73
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 196 Jul 11, 2017 07:26
Last Post: ythgilb
  How to close gimp with batch command? flixe 1 207 Jun 19, 2017 12:29
Last Post: ythgilb
  script-fu ok in gimp, not in commad line dominique 1 331 Sep 28, 2014 03:18
Last Post: dominique

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS