Split image with output to two different folders

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?".
Post Reply
mediamad
Posts: 2
Joined: 2019-05-31T14:26:12-07:00
Authentication code: 1152

Split image with output to two different folders

Post by mediamad »

So I have a simple task to split a sequence of images in half and output each half to a sub folder named "left" & "right". Hoping someone can give me a suggestion to automate this.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Split image with output to two different folders

Post by snibgo »

You just want to move files? Do that with a shell script.
snibgo's IM pages: im.snibgo.com
mediamad
Posts: 2
Joined: 2019-05-31T14:26:12-07:00
Authentication code: 1152

Re: Split image with output to two different folders

Post by mediamad »

So you're saying move the files after they've been created? Was hoping there might be some way in IM to specify an output path for each half of the split.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Split image with output to two different folders

Post by snibgo »

Okay, you are using ImageMagick. You can prefix filenames with paths. I suggest you show the command, and say what version of IM you use, on what platform.
snibgo's IM pages: im.snibgo.com
Post Reply