[magick-users] is the "import" program available through the Magick++ library?

Anthony Thyssen A.Thyssen at griffith.edu.au
Mon Jun 22 19:56:14 PDT 2009


On Tue, 23 Jun 2009 02:25:05 +0200
Giovanni Gherdovich <g.gherdovich at gmail.com> wrote:

| Hi Anthony,
| 
| I'm speechless; your answer opened me a new world!
| 
| Thank you again for your reply.
| 
Glad you enjoyed.

The  "display" program is supposed to have an option to draw into another
window (by window id) but it appears it ignores that option and only
opens directly into a new window.   :-(


However it does have a remote control ability to display the new image
in a previously opened "display" window.  I found this very useful in
scripts.

   display -immutable rose: &
   display_pid=$!

later change that image

   display -remote granite:

now kill the display

   kill $display_pid


Finally if you have display read from  tmp:filename
it will delete the filename AFTER the image has been read in.
That is good for automatic cleanup of the image being displayed.


  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
  "Got orders to let no-one through," (a guard)
  "We're no-one," said Bane, "and that's an order."
                            -- Terry Pratchett, "The Carpet People"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list