使用命令行使用GIMP XCF转换和其他文件? [英] Converting XCF and other files using command line with GIMP?

查看:510
本文介绍了使用命令行使用GIMP XCF转换和其他文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个XCF文件(或任何其他受支持的瘸子),我该如何将其转换为,例如,PNG用于显示或进一步处理?

If I have an XCF file (or any other supported by Gimp) how can I convert it to, for example, PNG for display or further processing?

推荐答案

我几年晚,但我想我会添加什么,我认为是迄今为止最好的解决办法:有一个工具套件名为< A HREF =htt​​p://henning.makholm.net/software> xcftools (在Ubuntu上,的apt-get安装xcftools ),其中有一个实用工具名为 xcf2png 完美地做这件工作。

I'm a couple of years late, but I thought I'd add what I think is by far the best solution: there is a tool suite called Xcftools (on Ubuntu, apt-get install xcftools), which has a utility called xcf2png that does this job perfectly.

xcf2png image.xcf -o image.png

这是远远好)使用ImageMagick(这正如我所说的评论上面是可怕的断裂),或b)使用的GIMP(其中有简单的输出图像的极其复杂的脚本语言)。

This is much better than a) using ImageMagick (which as I said in a comment above is horribly broken), or b) using Gimp (which has an extremely complicated scripting language for simply exporting an image).

这篇关于使用命令行使用GIMP XCF转换和其他文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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