Hello;
I am a newbie, and I am sure my question is an easy one. But the thing is I spent enough time on tryin gto figure out how ti delete an image from a folder.
My application allows the user to save off an image of his\her window (screendump) on the flya anf infinitley. I am using Image MAgick to shrink the images, so as to have smaller size, I want to be able to delete the dumped images from the folder after the user is done or the application is reset. And I just don't see how the -delete works.
Any suggestions?
Thanks;
HB
How to delete an image?
I do not know how -delete works but you can do it with php:
Code: Select all
unlink("image.jpg")
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
-delete is not for deleting files. It deletes an image or group of images from an image sequence such as you would get from (for example) an animated GIF.
See: http://magick.imagemagick.org/script/co ... php#delete
Pete
See: http://magick.imagemagick.org/script/co ... php#delete
Pete