如何连接图标与ImageMagick的一个形象? [英] How to concatenate icons into a single image with ImageMagick?

查看:169
本文介绍了如何连接图标与ImageMagick的一个形象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用 CSS精灵在一个网站上,而不是单独的图像文件,收集了大量的小图标是所有的大小相同。我怎么可以连接(瓦)他们到一个大的图像使用 ImageMagick的

I want to use CSS sprites on a web site instead of separate image files, for a large collection of small icons that are all the same size. How can I concatenate (tile) them into one big image using ImageMagick?

推荐答案

从网页您链接,'蒙太奇'是你想要的工具。这需要一些图片,并连接/瓦成一个单一的输出。这是我使用该工具之前已经做了一个形象的例子:

From the page you linked, 'montage' is the tool you want. It'll take a bunch of images and concatenate/tile them into a single output. Here's an example image I've made before using the tool:

这篇关于如何连接图标与ImageMagick的一个形象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆