Hi please help

How can we cut a portion of an image, using imagemagick

I mean, The same like photoshop polygon lasso tool

I need to cut a triangular shape from am image

Please any body help
thanks in advance