Croping two images out of a single file

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
aparker

Croping two images out of a single file

Post by aparker »

I'm trying to split a TIF image into two documents - the top half in one file and the bottom half in the second file. I'm trying -crop 1187x754x0x0 for the top half and -crop 1187x754x0x725 for the bottom half.

The problem is both commands give me the top of the page but not the bottom.

Any idea on what I'm doing wrong?

Thanks,
Andy
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Croping two images out of a single file

Post by Bonzo »

You want -crop 1187x754+0+0 &-crop 1187x754+0+725
aparker

Re: Croping two images out of a single file

Post by aparker »

I'm an idiot - thanks
Post Reply