Page 1 of 1

Command Line Processing: Convert -crop Output File Name

Posted: 2009-01-13T13:59:56-07:00
by jmatozzi
I am a new user of Magick. I believe this is the best forum to post this question. If not, please direct me to the appropriate forum.

I am using the command line processing command convert as follows:

convert 16141869_cutprofile.jpg -crop "700X500" 16141869_cutprofile.jpg

Instead of the output being 16141869_cutprofile.jpg, it is 16141869_cutprofile-0.jpg.

Is there some way to prevent the command from giving the file a different name?

Thanks,

John

Re: Command Line Processing: Convert -crop Output File Name

Posted: 2009-01-13T15:39:18-07:00
by el_supremo
Change the -crop argument to "700x500+0+0" so that it only crops one piece at a specific location (0,0).

Pete

Re: Command Line Processing: Convert -crop Output File Name

Posted: 2009-01-13T15:55:04-07:00
by jmatozzi
Thank you. That worked perfectly.

John