I didn't even think about that.I was writing a php script using imagemagik but forget about using itall on its own.