How to split a vector into n “almost equal” parts

后端 未结 7 660
野性不改
野性不改 2020-12-18 20:03

I have a problem that I would like to merge a large number of images using ImageMagick\'s convert.exe, but under Windows I have a 8192 byte long command line limit.

7条回答
  •  半阙折子戏
    2020-12-18 20:56

    Have you thought about using the xargs program. This maybe a high-level solution to the problem.

提交回复
热议问题