I would like to do the complete transformation in one single convert call.
What I now have is this:
Code: Select all
convert -flip test.jpg -write mpr:flipped +delete -crop 2048x136+0+0 mpr:flipped -write mpr:bottom +delete -crop 2048x136+0+1400 mpr:flipped -write mpr:top +delete -append mpr:top test.jpg mpr:bottom -write mpr:tcb +delete -flop mpr:tcb -write mpr:flopped +delete mpr:flopped -crop 136x1808+0+0 result.jpg
Code: Select all
convert: geometry does not contain image `flopped' @ warning/transform.c/CropImage/572.
When I run this command that does the first part of the mirroring (top and bottom), it does work and I get the flopped image with mirrored top and bottom edges.
Code: Select all
convert -flip test.jpg -write mpr:flipped +delete -crop 2048x136+0+0 mpr:flipped -write mpr:bottom +delete -crop 2048x136+0+1400 mpr:flipped -write mpr:top +delete -append mpr:top test.jpg mpr:bottom -write mpr:tcb +delete -flop mpr:tcb flopped.jpg