naelstrof / maim

maim (make image) takes screenshots of your desktop. It has options to take only a region, and relies on slop to query for regions. maim is supposed to be an improved scrot.
Other
2.15k stars 78 forks source link

Add flag to capture background for transparent windows #170

Closed veryjos closed 5 years ago

veryjos commented 5 years ago

Howdy. I added a flag to maim to preserve the background when capturing transparent windows. I'm not sure if I implemented it in such a great way, would be curious to hear what you think.

Also, greetings from facepunch/fpp if you remember a user named downsider or jos :^)

naelstrof commented 5 years ago

Wow nice! It's a pretty straightforward implementation. Though it seems to be an alias for simply doing --id root

It might be worth it just because you don't need to understand all of X11 to figure out what --capturebackground does. Meanwhile what the fuck is "root" and why would using its id help me capture the background of transparent images. 🤷‍♂️

I'll merge it! I won't get around to pushing a tag for a while though, bit busy with some other enterprises at the moment.

Nice seeing you from Facepunch! Lots of cool developers from there. 😊

veryjos commented 5 years ago

Ah word, it is similar to --window root but that throws an error when you try to use it with interactive mode- which is my main use case. Or if for whatever reason you want to capture a specific window (so you're already consuming the --window parameter) and also include the background.

Thanks for merging! :+1: