Gimp-Forum.net
ofn-erase-background - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: ofn-erase-background (/Thread-ofn-erase-background)

Pages: 1 2 3 4


RE: ofn-erase-background - Espermaschine - 11-01-2016

(11-01-2016, 12:10 AM)Ofnuts Wrote: Did you set Gimp's paint background color to match (for instance using the color picker) before calling the script?

No, i didnt. But that does the trick !

Could you modify the script so that information comes up in the pop-up text ?


RE: ofn-erase-background - Ofnuts - 11-01-2016

What popup text?


RE: ofn-erase-background - Kevin - 11-01-2016

(11-01-2016, 11:01 AM)Ofnuts Wrote: What popup text?

Tooltip maybe?
[attachment=77]


RE: ofn-erase-background - Ofnuts - 11-01-2016

Btw, are you using a 32- or 64-bit version of Gimp?


RE: ofn-erase-background - Ofnuts - 11-01-2016

(11-01-2016, 11:21 AM)Kevin Wrote:
(11-01-2016, 11:01 AM)Ofnuts Wrote: What popup text?

Tooltip maybe?

Ah, OK...

Updated the script


RE: ofn-erase-background - Espermaschine - 11-01-2016

Kevin was right, i meant the tool tip. Otherwise i know i will have forgotten about that detail in two weeks and will have to google the thread Smile

Cant tell you about 32 or 64 bit....
Im using 2.8.16...the information on the gimp site states it automatically chooses the appropiate one upon installiation, so im guessing its 64 bits ?


RE: ofn-erase-background - Ofnuts - 03-30-2018

Updated the script. Automatic determination of the color to remove is back in, as an option. Yehed mad.


RE: ofn-erase-background - Espermaschine - 03-30-2018

this gives me three 1px rows of semitransparent pixels, which looks wrong (bordereffect)

[attachment=1609]

when i do it manually (fuzzy select, grow 1px, colour to alpha), it looks right (1px antialiasing)

[attachment=1610]


RE: ofn-erase-background - Ofnuts - 03-30-2018

Yes, your blue contains some red, so if it were not for the selection, the whole disk would turn a slightly transparent lighter blue. Since there is a clean border and I play it safe and grow the selection by 2 pixels there is a 1px extra bit which is affected. So, three options:

* Consider your case a bit pathological and keep the 2px margin
* Go down to a 1px margin
* Make the margin width a clean border/dirty border option

A centime for your thoughts.


RE: ofn-erase-background - Espermaschine - 03-31-2018

Well if this was a design choice, then what can i say.
I dont really understand what you mean with "play it safe".


(03-30-2018, 09:25 PM)Ofnuts Wrote: A centime for your thoughts.

You posted this to force me to google centime, right    Big Grin