0

I tried to 'montage' 15000 small PNG images (about 10kb each) in order to make them all into one big image, but midway through the process I get a warning that I have no disk space left. I have 30gb left in my SSD.

The command I'm running:

montage -mode concatenate -background none -tile "101x" "${X}_*.png" out.png

Why does this happen and how much disk space would I need for such a task?

4

1 回答 1

0

我遇到了同样的问题,即在此过程中生成了 3 个 9GB 临时文件,磁盘空间不足。我有 100 个 1800 像素 x 1800 像素的 PNG 文件来平铺。

在没有定义数组宽度的情况下发生了这种情况。将宽度固定为 10 倍解决了我的问题,将图像限制为 18000 像素宽,生成 10MB 的输出文件。

蒙太奇 - 背景红色 - 瓷砖 10x - 几何 +1+1 *png montage.png

我猜在某个地方有一个文件非常宽的错误,但我不知道确切。尝试小,然后扩大,直到失败。

于 2019-08-14T12:56:33.980 回答