Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-erase-background
#20
(10-31-2016, 10:51 PM)Espermaschine Wrote:
(10-31-2016, 10:14 PM)Ofnuts Wrote: OK, need volunteers on Windows. Try this:

  • Start Gimp (need a fresh Gimp instance)
  • Create a 800x800 image
  • Add an alpha channel to the white background
  • Make a rectangle selection that covers on half of the rectangle
  • [delete]
  • You should know have a layer which is pure white on one half andfully transparent on the other
  • Using the pointer dialog you can verify that the transparent bit is still 255,255,255, only the alpha changed.
  • Remove the selection
  • Filter>Blur pixellize and use a tile as big as the image (800x800)
  • Use the pointer dialog again. The image should be a very drak gray (I get 44,44,44) with an alpha of 127.

Now, do the same thing on a small image (200x200). Your result should be half-transparent white
(255,255,255,127). If you confirm this I'll file a bug...

Confirmed. I followed your steps and the outcome is exactly the way you describe it.

(10-31-2016, 10:28 PM)Ofnuts Wrote: OK, uploaded a "fixed" version that doesn't attempt to determine the color to remove. Instead it will use the background color as set in the Tools palette for this.

It worked on a white BG with a black circle, but when i used a red BG with a green circle, i was left with a border again.

Did you set Gimp's paint background color to match (for instance using the color picker) before calling the script?

   
Reply


Messages In This Thread
ofn-erase-background - by Ofnuts - 10-30-2016, 02:19 PM
RE: ofn-erase-background - by Espermaschine - 10-30-2016, 03:53 PM
RE: ofn-erase-background - by Ofnuts - 10-30-2016, 07:25 PM
RE: ofn-erase-background - by Espermaschine - 10-30-2016, 07:39 PM
RE: ofn-erase-background - by Ofnuts - 10-30-2016, 09:23 PM
RE: ofn-erase-background - by Espermaschine - 10-30-2016, 09:54 PM
RE: ofn-erase-background - by Ofnuts - 10-30-2016, 11:04 PM
RE: ofn-erase-background - by Ofnuts - 10-30-2016, 11:21 PM
RE: ofn-erase-background - by Espermaschine - 10-30-2016, 11:30 PM
RE: ofn-erase-background - by Ofnuts - 10-31-2016, 02:37 PM
RE: ofn-erase-background - by Kevin - 10-31-2016, 03:45 PM
RE: ofn-erase-background - by Ofnuts - 10-31-2016, 05:35 PM
RE: ofn-erase-background - by Espermaschine - 10-31-2016, 07:22 PM
RE: ofn-erase-background - by Ofnuts - 10-31-2016, 08:10 PM
RE: ofn-erase-background - by Espermaschine - 10-31-2016, 08:35 PM
RE: ofn-erase-background - by Ofnuts - 10-31-2016, 09:27 PM
RE: ofn-erase-background - by Ofnuts - 10-31-2016, 10:14 PM
RE: ofn-erase-background - by Ofnuts - 10-31-2016, 10:28 PM
RE: ofn-erase-background - by Espermaschine - 10-31-2016, 10:51 PM
RE: ofn-erase-background - by Ofnuts - 11-01-2016, 12:10 AM
RE: ofn-erase-background - by Espermaschine - 11-01-2016, 12:27 AM
RE: ofn-erase-background - by Ofnuts - 11-01-2016, 11:01 AM
RE: ofn-erase-background - by Kevin - 11-01-2016, 11:21 AM
RE: ofn-erase-background - by Ofnuts - 11-01-2016, 11:31 AM
RE: ofn-erase-background - by Ofnuts - 11-01-2016, 11:31 AM
RE: ofn-erase-background - by Espermaschine - 11-01-2016, 03:12 PM
RE: ofn-erase-background - by Ofnuts - 03-30-2018, 12:19 PM
RE: ofn-erase-background - by Espermaschine - 03-30-2018, 12:46 PM
RE: ofn-erase-background - by Ofnuts - 03-30-2018, 09:25 PM
RE: ofn-erase-background - by Espermaschine - 03-31-2018, 04:51 AM
RE: ofn-erase-background - by Ofnuts - 03-31-2018, 08:13 AM
RE: ofn-erase-background - by Ofnuts - 03-31-2018, 09:27 PM
RE: ofn-erase-background - by Espermaschine - 04-01-2018, 05:30 AM
RE: ofn-erase-background - by Ofnuts - 04-01-2018, 08:13 AM

Forum Jump: