DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How eliminate background when capturing active window?  (Read 6,120 times)

Bazsl

  • Participant
  • Joined in 2014
  • *
  • Posts: 7
How eliminate background when capturing active window?
« on: January 12, 2016, 11:42 PM »
How can I configure SC so that it will not capture the area surrounding the active window. I just want to capture the active window and its frame but nothing outside the active window's frame. Thanks.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: How eliminate background when capturing active window?
« Reply #1 on: January 12, 2016, 11:46 PM »
that's what Active Window Capture mode is supposed to do, but there are situations and settings that effect it.
can you be more specific -- or better yet post a screenshot showing what result you are getting.

Bazsl

  • Participant
  • Joined in 2014
  • *
  • Posts: 7
Re: How eliminate background when capturing active window?
« Reply #2 on: January 13, 2016, 12:43 AM »
A sample screenshot is attached.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: How eliminate background when capturing active window?
« Reply #3 on: January 13, 2016, 01:34 AM »
right ok, so im assuming you are using the Active Window Capture mode, and its giving you those extra margins that include stuff you don't want.

what you are seeing there is the effect of a CHILD window on top of a parent, combined with SC trying to capture background transparency around the edges.

the quickest best solution is probably to tell SC to stop trying to grab the alpha transparency around window -- which will also result in a faster capture.

go to preferences, than window capturing 1 tab, then uncheck "try to capture aero glass transparency effects"

let me know if that helps.

Bazsl

  • Participant
  • Joined in 2014
  • *
  • Posts: 7
Re: How eliminate background when capturing active window?
« Reply #4 on: January 13, 2016, 01:43 AM »
That solved the problem. Thanks very much.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: How eliminate background when capturing active window?
« Reply #5 on: January 13, 2016, 01:55 AM »
i should probably try to make sc smartly warn about this when it detects no transparency, not just to help the user avoid this unwanted graphics, but because of the speedup in capturing.

Original address: https://www.donationcoder.com/forum/index.php?topic=42196.0