ImageMagic crash on windows 7

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
emilywuq
Posts: 3
Joined: 2013-06-04T15:20:26-07:00
Authentication code: 6789

ImageMagic crash on windows 7

Post by emilywuq »

ImageMagick crashes everytime when I run commands from windows cmd.exe. For example, the following commands:
display logo.gif -display :0
animate logo.gif -display :0
It can open the ImageMagick application without any problem. But when closing the application, a window error message pops up:
"imagemagick studio library and utility programs has stopped working x server"
The same commands do not crash in cygwin though.
Could anyone help me explain why this is happening, and help remove the error

Thanks
emilywuq
Posts: 3
Joined: 2013-06-04T15:20:26-07:00
Authentication code: 6789

Re: ImageMagic crash on windows 7

Post by emilywuq »

The same problem happen when I play with some program in Magic++_Demo.
For example, when I added the following line in gravity.cpp
system( "animate gravity_out.miff -display :0" );
or added the below line in buton.cpp:
system( "display button_out.miff -display :0" );

I was adding those lines so that I can see the generated results on screen right way. But the same problem happen when I tried to close the application.

emilywuq wrote:ImageMagick crashes everytime when I run commands from windows cmd.exe. For example, the following commands:
display logo.gif -display :0
animate logo.gif -display :0
It can open the ImageMagick application without any problem. But when closing the application, a window error message pops up:
"imagemagick studio library and utility programs has stopped working x server"
The same commands do not crash in cygwin though.
Could anyone help me explain why this is happening, and help remove the error

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagic crash on windows 7

Post by fmw42 »

I believe that display and animate are unix only command for IM. If you are on windows and not Cygwin, I think there is some other command for looking at images. (I am not a Windows user but it something like IM_display)

see
http://www.imagemagick.org/script/display.php
http://www.imagemagick.org/Usage/windows/

I do not see where you say what version of IM you are using?
emilywuq
Posts: 3
Joined: 2013-06-04T15:20:26-07:00
Authentication code: 6789

Re: ImageMagic crash on windows 7

Post by emilywuq »

fmw42 wrote:I believe that display and animate are unix only command for IM. If you are on windows and not Cygwin, I think there is some other command for looking at images. (I am not a Windows user but it something like IM_display)

see
http://www.imagemagick.org/script/display.php
http://www.imagemagick.org/Usage/windows/

I do not see where you say what version of IM you are using?
i am using the lastest version ImageMagick-6.8.5-9-Q16-x86-dll.exe
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagic crash on windows 7

Post by fmw42 »

Just to be clear, in case of any confusion, but display and animate are Unix IM commands only. They do not work on Windows
User avatar
whugemann
Posts: 289
Joined: 2011-03-28T07:11:31-07:00
Authentication code: 8675308
Location: Münster, Germany 52°N,7.6°E

Re: ImageMagic crash on windows 7

Post by whugemann »

I think this issue was already treated in viewtopic.php?f=3&t=22956. Basically, Windows will automatically run the application associated with the file format specified. If you are working on image manipulation, IrfanView will probably be installed on your computer an associated with all image file formats. Thus it suffices to just specify the image file in a cmd box and the associated application will be run automatically and display the image.
Wolfgang Hugemann
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagic crash on windows 7

Post by snibgo »

I'll add that "display" and "animate" need X11, which MS Windows doesn't have. (Maybe it can be added; I don't know.)

The equivalent to "display" under Windows is "imdisplay", which works fine. Personally, I use MS Photo Viewer for most purposes, or Gimp for getting pixel values.
snibgo's IM pages: im.snibgo.com
Post Reply