temp files left behind

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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post 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.
Post Reply