Public bug reported:

Binary package hint: compiz

Most other platforms provide neat ways to capture a screenshot while preserving 
transparency. KWIN added a functionality like that recently: 
https://svn.reviewboard.kde.org/r/4814/
KWIN is offering the API via DBUS.

In most cases we need hacky and ugly solutions to get similar
functionalities when using compiz (try launchpad.net/shutter), e.g. to
get transparency when using a shaped window. When adding this to compiz
we could render the window to an offscreen buffer and get perfect
screenshots (even though I don't know how to do this).

I would imagine to expose the following functionality via DBUS:
screenshot() //takes the whole desktop
screenshotWindowUnderCursor()
screenshotWindowbyXID(xid) //capture a specific window by providing the xid of 
the window


It would also be a great contribution to all documentation-like projects and 
the blogosphere. The nicer the screenshots are, the more impressive is what 
they show. Currently most window-only-screenshots look ugly compared to 
screenshots of other platforms (like Win7 or Mac OSX).

Please let me know if I can do anything to help out here (e.g. how to
write a compiz plugin).

** Affects: compiz (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/781280

Title:
  Add a Screenshot-API (Plugin)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to