I've used batch files to join many smaller images into huge ones before. But I'm trying to do the exact opposite and neatly deconstruct a large image. I already have every command and crop and chop in the full sequence written out -- and it works correctly when running the commands one at a time in command prompt. But I don't know enough about the syntax to get it to work in batch file, apparently. I'm getting errors of "geometry does not contain image" exclusively. An example of lines from the bat:
Code: Select all
convert e:\01.png -crop 62x138+283+141 e:\cropa5.png
convert e:\01.png -crop 72x138+0+281 e:\cropb.png
convert e:\01.png -crop 62x138+78+281 e:\cropb2.png
convert e:\01.png -crop 62x138+146+281 e:\cropb3.png
Can anyone help me sort this out?
Also, I've never used powershell or cygwin in any great amount (that's probably obvious) but I'm open to doing that if I can't do this with a batch file.
Thanks.
edit version 6.7.0-3