I have an image (see attached) in which I want to crop out the black areas to make them transparent. For that I draw Bezier curves (in red) and then tried to apply the Path>Difference, but is not working. What am I doing wrong? Or is there other way in which I can do this? I already watched and read tutorials, but I am still struggling :(
A single click using the select by colour tool can make the selection. Or you can use fuzzy select for a more complex image.
Also the selection can be saved as an svg path directly from GIMP using Select>to path, then right click the created path in the path palette and choose export path - that saves an SVG.
I have grown the selection by 1px to remove the darker fringe - but you could avoid doing that by tweaking the selection parameters.
This is great! Thanks for your answer, this really worked! :) One last question, since I want to coloured the object, I was thinking to use the path to fill it inside with color, but when doing this, the rectangle is also selected. I would like to keep the path of my object without the rectangle. I also tried deleting the nodes of the rectangle, but since they are part of the path this is impossible. Any quick ideas on how can I get this? or maybe there is another way to fill the object that I want? I appreciate your help!!!
That was my fault. GIMP has a feature Image>Crop To Content. I should have used that after *not before* using Select>To Path.
That way the rectangle frame is not touching the main path.
If you use this 2nd SVG. Edit>Select All. Path>Break Apart. Edit>Select All. Set the fill to none. Then the stroke to black. Click the rectangle and delete it.
Then Edit>Select all. Path>Combine. Then you can fill the shape with any colour you want.
Hello!
I have an image (see attached) in which I want to crop out the black areas to make them transparent. For that I draw Bezier curves (in red) and then tried to apply the Path>Difference, but is not working. What am I doing wrong? Or is there other way in which I can do this? I already watched and read tutorials, but I am still struggling :(
Its really a task better suited to the GIMP.
A single click using the select by colour tool can make the selection. Or you can use fuzzy select for a more complex image.
Also the selection can be saved as an svg path directly from GIMP using Select>to path, then right click the created path in the path palette and choose export path - that saves an SVG.
I have grown the selection by 1px to remove the darker fringe - but you could avoid doing that by tweaking the selection parameters.
This is great! Thanks for your answer, this really worked! :) One last question, since I want to coloured the object, I was thinking to use the path to fill it inside with color, but when doing this, the rectangle is also selected. I would like to keep the path of my object without the rectangle. I also tried deleting the nodes of the rectangle, but since they are part of the path this is impossible. Any quick ideas on how can I get this? or maybe there is another way to fill the object that I want? I appreciate your help!!!
That was my fault. GIMP has a feature Image>Crop To Content. I should have used that after *not before* using Select>To Path.
That way the rectangle frame is not touching the main path.
If you use this 2nd SVG. Edit>Select All. Path>Break Apart. Edit>Select All. Set the fill to none. Then the stroke to black. Click the rectangle and delete it.
Then Edit>Select all. Path>Combine. Then you can fill the shape with any colour you want.
Thanks a lot, this was SO helpful! 😀