I want to subtract a PNG (leaf shape) from an image, but the subtract option is not active. Seems that Sketch does not recognize my leaf png as a "shape". I did not find a way to convert the png into a shape, is this possible?

enter image description here

  • Hi @Bernie, welcome to GDSE. What you are looking for is called 'image trace' and a quick google search finds lots of results. Thanks for your question and keep contributing to the site!
    – PieBie
    Oct 25, 2016 at 7:12

2 Answers 2


What I would do is - manually trace the leaf in Sketch (2 min), copy and rotate to achieve the effect (2 min), create the mask and apply to the image.

end resultthe mask

the end result the mask, consisting of the leaves + a rectangle.


It seems that Sketch used to have "Vectorize Selection" in the bitmap editor but that function has been removed since version 40, according to the release note.

Try the old version which can be downloaded from here. (You can use multiple versions by renaming the app, like "Sketch.39.1.app")


Manual tracing is something most people want to avoid as much as possible, especially for the lazy programmers like me, because it can be done by machines in most cases. I hope the Sketch team will add the funciton back in the latest version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.