Page 1 of 1

Posted: 2006-07-06T12:35:42-07:00
by magick
ImageMagick creates temporary files on occasion. It will remove them if the process completes or if the Windows OS sends a signal that can be caught. If the process is killed, for example, some temporary files may not get removed. Under these circumstances thet must be removed manually or by script. All ImageMagick temporary files begin with the prefix magick.

Posted: 2006-07-06T15:58:49-07:00
by magick
We call SetConsoleCtrlHandler() to intercept ctrl-c. Check magick/nt-base.c. If you can determine why its failing to catch the interrupt, let us know.

Posted: 2006-07-07T16:02:58-07:00
by magick
Open source is all about contributions from the user community. Feel free to fix the ImageMagick signal handler so it properly removes the temporary files under Windows when a ctrl-C is pressed (note this works fine under any OS but Windows). Post your patches here and we will get them into the main ImageMagick source distrubution.