如何使用ImageMagic绘制标志
在彼此上方/下方排列5或4个矩形,每个矩形都有不同的颜色(HEX或RGB)
我可以使用此命令来生成具有标志相同尺寸的单个纯色的矩形:
convert -size 1800x900 xc:#990000 flag.png
但是如何在列表中对齐多种不同的颜色?例如:#C72B40,#E7919D,#0A8683,#E7919D
I am trying to create flag image files from the command line that look something like this:
Having 5 or 4 rectangles arranged above/below each other, where each rectangle has a different color (hex or rgb)
I can use this command to generate a rectangle with a single solid color having the same dimensions of a flag:
convert -size 1800x900 xc:#990000 flag.png
But how can I align multiple different colors in say a list? Such as: #c72b40,#e7919d,#0a8683,#e7919d
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该命令将制作一个简单的水平条纹的标志,均匀间隔...
它在标志中创建每个颜色的单个像素,垂直附加它们,并将结果扩展到1800x900。
This command will make a flag of simple horizontal stripes, evenly spaced...
That creates a single pixel of each color in the flag, appends them vertically, and scales the result to 1800x900.