Inverse Crop

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
blackno666
Posts: 7
Joined: 2010-03-25T07:39:45-07:00
Authentication code: 8675308

Inverse Crop

Post by blackno666 »

Hello,

I am trying to do an 'inverse crop'; this is actually not a very good name, but anyway: I have an image and want to split it in two images retaining the width. I just want to get rid of a stripe in the middle of the image. Is there an elegant way to do this? (What I do is: extract upper part of image, extract lower part of image then append images again; all this is done by executing imagemagick three times).

Here's a graphical illustration of what I want to achieve:

!-------!
! 1111 !
! 2222 !
! 3333 !
!-------!

should become

!-------!
! 1111 !
! 3333 !
!-------!

(some lines should be deleted and the lines below should be moved up).

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

Re: Inverse Crop

Post by Bonzo »

blackno666
Posts: 7
Joined: 2010-03-25T07:39:45-07:00
Authentication code: 8675308

Re: Inverse Crop

Post by blackno666 »

Thanks! That does exactly the job!
Post Reply