Drawing multiple images on the root window

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-02-10T18:23:47-07:00

Try
  • display -window root image.jpg
to display an image inside the root window.

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Post by magick » 2006-02-10T20:19:48-07:00

Try
  • display -geometry +200+200 -window root image.jpg
If that fails, we suspect it can't be done-- at least not with ImageMagick.

User avatar
anthony
Posts: 8867
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony » 2006-02-12T20:41:56-07:00

It can be done. But not with image magick. What you need to do use use a X window programe that re-tiles the root window completely, then adds the extra image to that new background image.

The "xli" is one such program is able to do this, once you discover the window ID for the root window.

Another way is to run an application that draws and re-draws the root window as needed. For example under linux look at "xsri" which is designed for displaying extra graphics (--emblem) on GDM and XDM login displays, or 'kiosk' displays.

But again this is NOT a IM problem, but a X windows problem.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
http://www.imagemagick.org/Usage/

Post Reply