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

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?".
Locked
robsl2314
Posts: 1
Joined: 2020-03-18T03:14:00-07:00
Authentication code: 1152

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

Post 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!

snibgo
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post by snibgo »

For example:

Code: Select all

magick rose: -crop 2x1@ +swap +append x.png
You can use "magick mogrify" if you want.
snibgo's IM pages: im.snibgo.com

Locked