based on this answer here, I know its possible to screenshot only 1 window at a time, the thing is:

How can I do the same (or very similar) thing with a transparent background / alpha? I understand its just taking a snapshot of the visible screen and not rendering anything, but perhaps there's a way (either in python alone or C++) to only save to the image the content, and not the background?

  • $\begingroup$ How about using the same effect as a "green screen" to remove the bg. $\endgroup$ – batFINGER Jan 4 at 3:25

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.