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.
11-11-2020, 02:52 PM (This post was last modified: 11-11-2020, 03:05 PM by rich2005.)
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.
11-11-2020, 05:12 PM (This post was last modified: 11-11-2020, 05:25 PM by meetdilip.)
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.
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.
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.
11-11-2020, 05:37 PM (This post was last modified: 11-11-2020, 05:46 PM by meetdilip.)
Thanks @rich2005 I did try the brush + erase mode with FG as white. When I paint on the image, Red / Purple also vanishes
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 ?