Closed veryjos closed 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. 😊
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:
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 :^)