问题标签 [montage]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
79 浏览

linux - ImageMagick - 裁剪、调整大小和合并两张图片

我需要添加这两张图片: 图片1 和图片2

以某种方式(手动完成):

剪辑

实际上,在最后一张图片中,两个矩形应该具有相同的大小,并且可以调整整个图片的大小以裁剪掉空白部分(不,即使使用 gimp =p 我也不知道该怎么做)。

因为我有很多图片,所以我正在尝试编写某种脚本,可能使用 ImageMagick“蒙太奇”。

我将在 Ubuntu 14.04 中运行它。

0 投票
1 回答
454 浏览

image - 蒙太奇命令的 ImageMagick 错误

我正在使用 montage 命令连续拼接 8 个 8k x 8k 像素的图像。

这是我输入的内容:

蒙太奇 -mode concatenate -limit area 0 -tile x1 image1.png image2.png image3.png image4.png image5.png image6.png image7.png image8.png out1.png

这是我得到的错误:

蒙太奇:magick/quantum.c:215:DestroyQuantumInfo:断言 `quantum_info->signature == 0xabacadabUL' 失败。中止

任何人都可以帮忙吗?谢谢

0 投票
1 回答
1663 浏览

batch-file - 有运行时间限制吗?

我正在运行下面的 DOS 批处理文件。我的操作系统是具有 3 GB 内存的 Windows 7。在 Windows 资源管理器中,我双击批处理文件,它使用标准尺寸的图像运行良好,并将图像组合成更大的图像。除了 1 MB 的较大 .jpg 图像文件之外,我所做的一切都完全相同时,代码会运行但会生成一个零字节文件。批处理文件会超时吗?你认为这是 DOS 或 ImageMagick 的限制吗?

0 投票
2 回答
3174 浏览

matlab - Save montage as image matlab

I have 225 image with put together with the montage function in matlab. And I can show them with montage. But i cannot save the montage as a complete image, please help me.

The output on montage "h" is just a number.

0 投票
1 回答
518 浏览

bash - ImageMagick, Bash script to label with comment and image sequence number

I would like to have a set contact sheets for 70 photos.

And, each photo would have similar to this label:

where n indicates the image number.

My Bash script correctly shows the comment. For the image sequence number I am puzzled.

I have tried various fx: expressions and percent escapes constructs with results either nothing displayed or the numeral zero (http://www.imagemagick.org/script/fx.php, http://imagemagick.org/script/escape.php).

0 投票
3 回答
2283 浏览

performance - ImageMagick: combine multiple 'montage' commands into one to gain performance

I have a script that takes 4 pictures and duplicates them to produce 8 small pictures in one. The script also adds a background to the output.

Here is what I expect:

http://img11.hostingpics.net/pics/831624stack.png

I have a code that works well. But it needs to save multiple temporary images.

So I was looking if I could merge the commands of my script to get only one image saving operation. The goal is to make the script complete faster.

0 投票
1 回答
180 浏览

perl - 如何使用 PerlMagick 从现有图像对象而不是文件路径“读取”?

以下代码使用 100x100 平铺作为源图像生成 300x100 图像:

如何在仅从磁盘读取一次的情况下达到相同的结果?

0 投票
1 回答
866 浏览

imagemagick - 如何在没有空白空间的情况下创建 ImageMagick 蒙太奇?

我正在使用一组图像创建大量蒙太奇。

我想要安排蒙太奇的方式是顶部有三个图像,底部有两个图像。我现在的命令如下:

这导致了适当排列的蒙太奇,但右侧有一个大的空白区域,这是我不想要的。我注意到空白区域的宽度是蒙太奇中使用的最大图像的宽度。

我应该怎么做才能确保不创建这个大的空白区域?

0 投票
1 回答
100 浏览

image - MATLAB:改变 2 张图像的蒙太奇方向

我正在尝试使用 MATLAB 打开仅包含顶部和底部的两个图像的蒙太奇。MATLAB 默认为左/右方向。我已经尝试过 montage(images, 'Size', [2 1]) 但这仍然给了我左/右方向,但只是在下面添加了一个空白行。

0 投票
3 回答
987 浏览

image - 使用 ImageMagick 蒙太奇对图像进行编号/标记(例如 1、2、3 或 A、B、C)

我在用着

将多张图像合二为一。我现在希望它们被编号(有时是 1、2、3 ……;有时是 A、B、C ……)在组合中标记单个图像的可能性有哪些?是否可以选择将标签不放在图片下方,而是放在左上角或右下角?

不幸的是,我无法真正弄清楚如何使用 -label 命令来实现这一点。感谢您的任何建议。