[solved]Crop To Display Only First Result

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
wmichaelv
Posts: 12
Joined: 2014-02-15T15:54:19-07:00
Authentication code: 6789

[solved]Crop To Display Only First Result

Post by wmichaelv »

When I use

Code: Select all

convert test.jpg -crop 114x108! test.jpg
I ended up with test.jpg test-0.jpg test-1.jpg test-2.jpg, et cetera.

The right file is test-0.jpg, and I don't need test.jpg, test-1.jpg, test-2.jpg et cetera.

And I would like test-0.jpg to be renamed test.jpg.

Thank you.
Last edited by wmichaelv on 2014-02-15T19:09:18-07:00, edited 1 time in total.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Crop To Display Only First Result

Post by snibgo »

-crop 114x108+0+0
snibgo's IM pages: im.snibgo.com
wmichaelv
Posts: 12
Joined: 2014-02-15T15:54:19-07:00
Authentication code: 6789

Re: Crop To Display Only First Result

Post by wmichaelv »

Thanks, work perfectly!!!!
Post Reply