我试图用gimp中文件系统中的一个映像来替换新创建的映像
from gimpfu import *
import os
cwd = os.getcwd()
graphic = pdb.gimp_file_load(cwd + '/original.psd', cwd + '/original.psd')
# image where i'm going to replace the graphic
image = gimp.Image()
pdb.gimp_file_save(graphic, graphic.layers[0], cwd + '/test.png', '?')
我在文件中找不到任何有用的东西,谢谢你能给我的任何帮助/指导
我发现你可以用
我希望它能帮助别人。在
如果您从python控制台深入研究gimp文档,您将发现比挖掘官方文档更多的信息
相关问题 更多 >
编程相关推荐