Copy link to clipboard
Copied
Hi all, thoroughly stumped on this one, probably due to my lack of PS chops. I have a variety of transparent pngs. Some of them have an interior gap after an expand/smooth operation. Is there a way to fix these interior gaps programatically in jsx? Thanks.
A Script can store the Selection, convert the Selection to a Work Path, then use only the first subPathItem to create a new Selection (or depending on the needs contract it and add it the the original Selection so the original edge detail/softness is maintained).
Copy link to clipboard
Copied
I do that in my plugin https://lightningplugins.com
I remember it being a bit tricky, but essentially I turn the selection into a shape and then combine the shapes and then make a new selection from that. I am sure there are better ways but that is what I came up with.
Copy link to clipboard
Copied
A Script can store the Selection, convert the Selection to a Work Path, then use only the first subPathItem to create a new Selection (or depending on the needs contract it and add it the the original Selection so the original edge detail/softness is maintained).
Find more inspiration, events, and resources on the new Adobe Community
Explore Now