Improper fill - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Improper fill (/Thread-Improper-fill) |
Improper fill - meetdilip - 11-11-2020 [attachment=5171] I have a requirement where I have to change the colour of this purple to green and yellow. I tried " selecting by colour, delete and then fill " . Then tried " Colorize ". Both had its own issues. Mainly burrs on the edges in the first case and the cloud colour also changing in the second method. So I gave up miserably and tried to select white, add a layer on top and then fill it with white. So that I get cloud and it is easier for me to manage the rest. But as you can see in the image above, there is this strange fog at the edges of the fill. Kindly help me fix it. Thanks. RE: Improper fill - rich2005 - 11-11-2020 All sorts of ways, Sometime in the past the white with a feathered edge as been merged with the background. You really need to keep that feathering otherwise a hard edge looks awful. My suggestion 1. You can use the paint tool as an eraser. Set the mode to colour erase, use a large-ish brush, white FG 2. Now make a selection of the part to colour change. Enable the alpha lock in the layers dialogue and then fill. 3. You can invert the selction and fill the other half or whatever you want, paint in / gradient all sorts. Turn the alpha lock / paint tool mode off when finished or you will forget about them and it will come back to haunt you. 4 . Add a white layer under and merge down if required. Some screeshots of all that. https://i.imgur.com/uiWRg6q.jpg Other ways ? You can use rotate colours for the purple to green but not that easy to specify an exact green example: https://i.imgur.com/w5lKNXP.jpg RE: Improper fill - meetdilip - 11-11-2020 I think the blur is happening when I use " Select > grow " so that I can remove the extra white which never got selected through " colour select ". The problem is, no matter which type of selection I use, there is a border. Be it " Fuzzy select " or " Select by colour ". How can I make sure that the whole colour area is selected ? As you can see it is a very straightforward image. [attachment=5172] Thanks for your efforts. I did try the methods. But in the end, when it comes to selection, there is always a border, no matter what I do In the end, I found a workaround. I used colour to alpha and deleted the Purple. Then I created a layer beneath it to which I can add my custom colour. RE: Improper fill - rich2005 - 11-11-2020 Quote:... I did try the methods. But in the end, when it comes to selection, there is always a border, no matter what I do If you read through the workflow again, you find that removing the white does not use a selection. Later on when the selection to replace the colour is used the alpha lock takes care of the semi-transparent pixels. But it is up to you. Why do you get that border, all about those border pixels. see: https://www.gimp-forum.net/Thread-Background-removal-or-replacement-on-text-logos-and-other-computer-graphics RE: Improper fill - meetdilip - 11-11-2020 Thanks @rich2005 I did try the brush + erase mode with FG as white. When I paint on the image, Red / Purple also vanishes [attachment=5174] I am reading the link now. It is because of the threshold value ? I am surely doing something funny. But not sure where I am missing the point. Update : Now I see why you were in favour of keeping the buffer. I increased the threshold value and the buffer is gone, but there are sharp edges. I guess there is no way to fix it, right ? RE: Improper fill - rich2005 - 11-11-2020 Quote:.. I increased the threshold value and the buffer is gone, but there are sharp edges. I guess there is no way to fix it, right ? For these types of images best not to use colour select and threshold adjustment, you will end up with a 'jaggy' border. Try a video this time, three minutes: https://youtu.be/-jOka3Ao7cY RE: Improper fill - Ofnuts - 11-11-2020 https://www.gimp-forum.net/Thread-Background-removal-or-replacement-on-text-logos-and-other-computer-graphics RE: Improper fill - Krikor - 11-12-2020 (11-11-2020, 05:28 PM)rich2005 Wrote: see: https://www.gimp-forum.net/Thread-Background-removal-or-replacement-on-text-logos-and-other-computer-graphics (11-11-2020, 10:53 PM)Ofnuts Wrote: https://www.gimp-forum.net/Thread-Background-removal-or-replacement-on-text-logos-and-other-computer-graphics RE: Improper fill - meetdilip - 11-12-2020 (11-11-2020, 06:38 PM)rich2005 Wrote:Quote:.. I increased the threshold value and the buffer is gone, but there are sharp edges. I guess there is no way to fix it, right ? Brilliant ! I was using Erase instead of Colour Erase. Hence the issue. |