image window by display

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
timlee

image window by display

Post by timlee »

Hello guys,

Is there some command that can close the image window shown by display?

Also is there any command for showing another image in the same window as the previous image with discarding the content of previous image?

Thanks and regards!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: image window by display

Post by anthony »

xkill works very well!!!!

Combined with xwininfo to find the display window based on title and class and you can close any display window. the display -remote does something like a xwininfo to file a 'remote' window, in which to display a new image.


Better still, when launching the display save the process id (pid) of the display process! I do this in scripts all the time.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply