Page 1 of 1

Cut many images at multiple vertical points and swap parts to new image

Posted: 2020-03-18T03:23:32-07:00
by robsl2314
I have a image of an omnidirectional equirectangular image, so i should usually should can turn the image around on the horizontal axis. To archive that I need to split vertically the image at a point and swap the two parts, is it possible to do that within one command.
Further more, i have many of these and need to do this as batch so can I do this with mogrify?

--------original-------------vertical cut-------------merge
Like: [imagemagick] >> [image|magick] >> [magickimage] >> to new File

Thanks for your input!

Re: Cut many images at multiple vertical points and swap parts to new image

Posted: 2020-03-18T04:30:52-07:00
by snibgo
For example:

Code: Select all

magick rose: -crop 2x1@ +swap +append x.png
You can use "magick mogrify" if you want.