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
Command Line Processing: Convert -crop Output File Name
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Command Line Processing: Convert -crop Output File Name
jmatozzi wrote: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
convert 16141869_cutprofile.jpg -crop "700X500+0+0" +repage 16141869_cutprofile.jpg
See http://www.imagemagick.org/script/comma ... s.php#crop about single image vs multi-image cropping.
Also
http://www.fmwconcepts.com/imagemagick/ ... .php#crop2