← Back to team overview

compiz team mailing list archive

[Bug 781280] [NEW] Add a Screenshot-API (Plugin)


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
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 compiz
packagers, which is subscribed to compiz in Ubuntu.

  Add a Screenshot-API (Plugin)

Follow ups