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: Capturing transparent windows with transparency - update  (Read 18,629 times)

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
Capturing transparent windows with transparency - update
« on: January 14, 2007, 07:28 AM »
I've figured out how to properly capture transparent windows with alpha mask (woot!)
It will be in the next version.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Capturing transparent windows with transparency - update
« Reply #1 on: January 14, 2007, 03:05 PM »
Woohoo!

GrandMasterMouser does it again! :)
- carpe noctem

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: Capturing transparent windows with transparency - update
« Reply #2 on: January 30, 2007, 04:52 PM »
An early alpha of ScreenshotCaptor with ability to capture non-rectangular windows is now uploaded.  It also fixes an inefficiency which was delaying display of new screenshots significantly - yay!

Message me for private early alpha link.

People who prefer stable releases should just wait for the public release.

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: Capturing transparent windows with transparency - update
« Reply #3 on: January 30, 2007, 05:02 PM »
some screenshots.

here you can see how it finds the active non-rectangular window so the dimming effects can apply to it:
Screenshot - 1_30_2007 , 10_56_57 AM.png


and here its used to autocrop the active non-rectangular window region and apply a nice shadow around it:
Screenshot - 1_30_2007 , 10_57_49 AM.png

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Capturing transparent windows with transparency - update
« Reply #4 on: January 31, 2007, 07:21 AM »
Nice :)

How'd you go around finding the window extents? GetObject + GetRegionData?
- carpe noctem

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Capturing transparent windows with transparency - update
« Reply #5 on: January 31, 2007, 07:23 AM »
ah, rounded corners! nice.. :)

gregland

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 32
Re: Capturing transparent windows with transparency - update
« Reply #6 on: February 01, 2007, 04:53 AM »
Very Nice Mouser !!!  :up:
GregLand
French WebMaster & Programmer
_______________________________________
WebSite

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • Cody Award
Re: Capturing transparent windows with transparency - update
« Reply #7 on: February 01, 2007, 08:12 AM »
is this a unique feature. i can't remember seeing it done elsewhere?

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: Capturing transparent windows with transparency - update
« Reply #8 on: February 01, 2007, 11:45 AM »
yes it's done elsewhere, i'm not the only one.

Obviously you aren't often capturing these crazy shaped windows, BUT if you use a windows xp or vista theme with rounded corners and such, then you probably noticed that screenshot captor used to give you a tiny bit of desktop background where the corners were which could be ugly.  so this wil fix that :)


Quote
How'd you go around finding the window extents? GetObject + GetRegionData?
yep, it's get region data and then walking the image and masking it according to PtInRegion.

gregland

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 32
Re: Capturing transparent windows with transparency - update
« Reply #9 on: February 02, 2007, 04:41 PM »
It works greatly !!!  :-*
WMP


Avast


Very good Job Mouser
GregLand
French WebMaster & Programmer
_______________________________________
WebSite
« Last Edit: February 03, 2007, 04:48 AM by gregland »

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: Capturing transparent windows with transparency - update
« Reply #10 on: February 02, 2007, 04:46 PM »
sometimes it gets tough to read only about problems and requests and bugs..
so nice to hear when something works.. thank you for that  :)

gregland

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 32
Re: Capturing transparent windows with transparency - update
« Reply #11 on: February 02, 2007, 08:37 PM »
Lol... I know that with my program
GregLand
French WebMaster & Programmer
_______________________________________
WebSite

sshdw86

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1
Re: Capturing transparent windows with transparency - update
« Reply #12 on: February 03, 2007, 04:03 AM »
I love this program.  I am very anxious to get my hands on this version with transparent capture.    How soon till we can get our grubby hands on it? :D

gregland

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 32
Re: Capturing transparent windows with transparency - update
« Reply #13 on: February 09, 2007, 08:38 PM »
Windows Live Messenger has some problem with rounded corner (It's the only program for the moment)



Is there a special way to capture the WLM Window ? ("Active Window", "Window Object")
I capture it with "Window Object"
GregLand
French WebMaster & Programmer
_______________________________________
WebSite
« Last Edit: February 09, 2007, 08:40 PM by gregland »

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: Capturing transparent windows with transparency - update
« Reply #14 on: February 09, 2007, 08:39 PM »
why is it that MS apps are inevitbly the apps that violate microsoft's own established standards..

sshdw86: the latest download has the feature now.

gregland

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 32
Re: Capturing transparent windows with transparency - update
« Reply #15 on: February 09, 2007, 08:42 PM »
Lol... it's funny !!
GregLand
French WebMaster & Programmer
_______________________________________
WebSite

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Capturing transparent windows with transparency - update
« Reply #16 on: February 09, 2007, 08:47 PM »
why is it that MS apps are inevitbly the apps that violate microsoft's own established standards..
Abso-fck*ng-lutelly. MSN is the program i know that has most problems. It's usually the program that makes me stop using some window managers and alike.

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