The below code does ALMOST what I want - it copies the image and moves it over a pixel, but it doesn't get rid of the original image pixels.
Code: Select all
convert test.png -alpha set \( +clone -crop 120x150+0+0 +repage \) \( -clone 0--1 -geometry +1+0 -composite \) -swap 0 +delete \( +clone -alpha opaque \) +swap +delete -gravity east -geometry +119+0 -compose DstOut -composite newtest.png
Thanks!
What I ended up using in the end:
Code: Select all
convert -page +1+0 test.png -background none -flatten newtest.png
