Page 1 of 1

How can I delete an image from disk?

Posted: 2007-01-19T10:02:47-07:00
by hbazyan
hello;

I am trying to delete large size images from the disk that I am creating outside of imagemagick. I am just using ImageMagick through the Command Prompt (DOS) to shrink the images.
The thing is that now i have two copies of each image a small one and the other large size one, which i want to get rid off. I am trying to use the -delete or +delete but it is not working I keep getting an error: missing an image filename.

Does anyone know a solution for that? or a command line i can use to delete large images?

Thanks;

Huda

Posted: 2007-01-19T12:20:03-07:00
by el_supremo
Try using the mogrify command instead of convert. Mogrify modifies the input image, so if you resize it, this will implicitly delete the original.

Pete