Package: librmagick-ruby
Version: 1.13.0-1
Severity: normal

I trying to use RMagick to display an image in a root window. 

map = ImageList.new(image)
map.display { self.filename = "root" }

I believe that is the correct syntax.

Looking at the documentation, it does appear that it should work.  

http://www.simplesystems.org/RMagick/doc/info.html#Info.server_name_eq

self.filename="root", the documentation refers to the capture method.

http://www.simplesystems.org/RMagick/doc/image1.html#capture

which says:

Within the optional arguments block, specify self.filename = "root" to
capture the entire desktop. To programatically specify the window to be
captured, use

Off hand, sounds like that captures everything, rather than just the
root window.  However the Imagemagick display command does have a
'-window root' option, which it seems RMagick should be able to mimic...
so perhaps this is a wishlist item, rather than a bug.




-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages librmagick-ruby depends on:
ii  librmagick-ruby1.8            1.13.0-1   ImageMagick API for Ruby

librmagick-ruby recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to