GIMP Chat http://gimpchat.com/ |
|
Find and fill paths if closed, convert closed paths to transparent http://gimpchat.com/viewtopic.php?f=9&t=18224 |
Page 1 of 1 |
Author: | cfo64nc [ Wed Apr 15, 2020 12:32 pm ] |
Post subject: | Find and fill paths if closed, convert closed paths to transparent |
Is it possible to do this in script-fu? Go from Pronghorn.png, which has a transparent background. ![]() to Pronghorn1.png ![]() Here's how I did it manually: Open Pronghorn.png Select the open paths (lines in the head and on leg and thigh) and fill them with white. Select the area just inside the closed path that makes up the outer edge of the Pronghorn. Fill that area Black. This leave the 'islands' I want to keep transparent. Export the File to Pronghorn1.png Ideally I should have selected the 'white' open paths and filled them transparent before saving. I have about 3000 images to process so, I'd like to be able to script it. I just don't know how to find the open paths, then fill inside the outer closed path. Thank you |
Author: | ofnuts [ Thu Apr 16, 2020 3:43 pm ] |
Post subject: | Re: Find and fill paths if closed, convert closed paths to transparent |
This image likely comes frorm some vector graphics app (SVG, AI or EPS format). Do you have the vector files? This would be a lot easier. |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |