Inverse Crop
Posted: 2010-03-25T07:45:34-07:00
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.
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.