Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Gimp 中的图像上创建了图层蒙版。
如何仅将图层图保存为 png?
谢谢
如果您以交互方式使用 GIMP,只需在选择文件保存时将图层蒙版选为活动可绘制 - 选择保存为 .png 或您选择的其他文件格式(但 .xcf)。
如果您正在使用过程数据库编写插件,则 gimp_file_save 函数将可绘制对象作为参数 - 此可绘制对象应该是您的图层蒙版。