Re: need pointer to using MagickXDisplayBackgroundImage, MagickXResourceInfo *
[email protected] Wed, 5 Oct 2011 17:14:10 +0000
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 05, 2011 at 11:22:49AM -0500, Bob Friesenhahn wrote: > On Wed, 5 Oct 2011, [email protected] wrote: >> >> As I'm exploring the API/functionality, writing to the root joined my >> wish-list. All the work I'm doing so far is in C, so I wanted to keep >> this work in C too; I use (and have used for years) "gm display -root", >> so I knew the functionality existed. Currently, I've punted and do just >> exec() gm to get this effect. The wm grabbing windows is a seperate >> problem that I'll deal with case-by-case. If there's some targetted >> GMDisplayToRoot()-style call I'm missing, or pointers for working w/ >> what I've started with, I'll take any hints I can get :) > > It has been quite a while since I have been embroiled in this old X11 > code in order to improve operation and fix (the many) memory leaks so I > don't remember how it works any more. You have the option of looking at > magick/display.c code to see how it works, or even punting and using > high-level utility-style command functions from magick/command.h (e.g. > GMCommand() or DisplayImageCommand()). I am not sure if there are any > ill-effects from using these high-level functions in the same context as > other code which uses lower-level API functions. Only testing will prove > if it works well. Thanks for the insight! I'll try them out and see what I can see, and try to remember to post impressions/experience back here. Cheers, -bch > Bob > -- > Bob Friesenhahn > [email protected], http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ -- Brad Harder Method Logic Digital Consulting http://methodlogic.net/ http://twitter.com/bcharder ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1