GIMP Development Update
GIMP Development Update
For the past few months, we’ve been developing all kinds of features for the future GIMP 3.4 release. We noticed recently that our changelog was getting quite long - a good problem to have! While there’s been a lot going on internally, it’s been a while since we made a public progress report. So we want to share details on some of the new features and UX improvements that’ll be available in the first development release, GIMP 3.3.2.
在过去的几个月里,我们一直在为未来的 GIMP 3.4 版本开发各种功能。我们最近注意到更新日志变得相当长——这算是一个“幸福的烦恼”!虽然内部开发进展迅速,但我们已经有一段时间没有发布公开的进度报告了。因此,我们希望分享一些即将在首个开发版本 GIMP 3.3.2 中推出的新功能和用户体验改进的细节。
This won’t be an exhaustive list (we have to save at least some news for the release itself!) but hopefully it will give you some insight into the current direction and progress of GIMP’s development.
这并不是一份详尽的列表(我们总得为正式发布留点惊喜!),但希望它能让你了解 GIMP 目前的开发方向和进度。
New Project File Format
新项目文件格式
The big focus for maintainer Jehan recently has been developing a new project file format for GIMP. XCF has been GIMP’s primary project format since 1997, and it has served many users well. Over time however, we’ve observed more and more limitations of the binary XCF format. Among other issues, it does not easily support very large or complex projects, such as the multi-page and animation features currently planned for GIMP 3.6.
维护者 Jehan 最近的工作重点是为 GIMP 开发一种新的项目文件格式。XCF 自 1997 年以来一直是 GIMP 的主要项目格式,并为许多用户提供了良好的服务。然而随着时间的推移,我们观察到二进制 XCF 格式的局限性日益凸显。除其他问题外,它难以支持非常庞大或复杂的项目,例如目前计划在 GIMP 3.6 中实现的多页面和动画功能。
The new project file format will follow a more common “zipped XML” structure. While the technical details are still being designed and implemented, this change will allow for faster saving since we’ll only need to update parts of the file instead of the whole thing each time. It will also set the stage for much desired features such as auto-saving, which will now be much more feasible.
新的项目文件格式将采用更通用的“压缩 XML”结构。虽然技术细节仍在设计和实现中,但这一改变将实现更快的保存速度,因为我们每次只需更新文件的部分内容,而无需重写整个文件。这也为自动保存等备受期待的功能奠定了基础,这些功能现在将变得更加可行。
That said, XCF is not going away! Backwards compatibility is important to us, and we will continue to support loading XCFs in all future versions of GIMP. (For instance, we’re quite proud that a XCF file made by a small company for their logo in 1998 still renders the same way in the latest version of GIMP) However, going forward we will only add support for saving/loading new features in the new project file format once it is finalized.
话虽如此,XCF 并不会消失!向后兼容性对我们来说非常重要,我们将继续在 GIMP 的所有未来版本中支持加载 XCF 文件。(例如,我们非常自豪的是,一家小公司在 1998 年为其标志制作的 XCF 文件,在最新版本的 GIMP 中依然能完美渲染。)不过,展望未来,一旦新项目文件格式最终确定,我们将仅在新格式中添加对新功能的保存/加载支持。
MyPaint Brush: Spectral Blending
MyPaint 画笔:光谱混合
During GIMP 3.2’s development, we upgraded to a newer version of the MyPaint brush engine. While this brought new brushes and canvas interactions to the MyPaint Brush Tool, one feature that was left out was Spectral Blending. Spectral Blending simulates the effects of blending physical pigments in digital art. For example, blending yellow and blue will produce a green color instead of darker yellow, and blending red and yellow will create an orange mix.
在 GIMP 3.2 的开发过程中,我们升级到了更新版本的 MyPaint 画笔引擎。虽然这为 MyPaint 画笔工具带来了新的画笔和画布交互,但有一个功能被遗漏了,那就是“光谱混合”(Spectral Blending)。光谱混合模拟了数字艺术中物理颜料混合的效果。例如,黄色和蓝色混合会产生绿色而不是深黄色,红色和黄色混合会产生橙色。
Fortunately, new contributor Cassidie Grogan picked up the slack and implemented this feature. There is now a Spectral Blending checkbox in the MyPaint Brush Tool Options. If checked, the new blending method is used. You can control the strength of the blending with the Pigment slider.
幸运的是,新贡献者 Cassidie Grogan 接手并实现了这一功能。现在,在 MyPaint 画笔工具选项中有一个“光谱混合”复选框。如果勾选,系统将使用新的混合方法。你可以通过“颜料”(Pigment)滑块来控制混合强度。
Non-Destructive Editing
非破坏性编辑
Alx Sa has continued making updates to our non-destructive filter code. To list a few: You can now apply filters non-destructively to Layer masks! To go along with this, the filter popover has been redesigned by Reju to show the active filters for both the layer and its mask, so you can interact with both on the same screen.
Alx Sa 继续对我们的非破坏性滤镜代码进行更新。举几个例子:你现在可以对图层蒙版应用非破坏性滤镜了!配合这一功能,Reju 重新设计了滤镜弹出窗口,可以同时显示图层及其蒙版的活动滤镜,让你能在同一个界面上与两者进行交互。
The Gradient Tool can now be used non-destructively! If you check Editable Gradient in the Tool Options, the gradient you create will be added to the filter stack like any other effect. You can toggle its visibility, rearrange its position in the filter stack and delete it. You can also edit the gradient, which will switch back to the Gradient Tool to let you make further changes.
渐变工具现在也可以进行非破坏性编辑了!如果你在工具选项中勾选“可编辑渐变”,你创建的渐变将像其他效果一样被添加到滤镜堆栈中。你可以切换其可见性、重新排列其在滤镜堆栈中的位置并将其删除。你还可以编辑渐变,系统会切回渐变工具,让你进行进一步的修改。
PSD Support Improvements
PSD 支持改进
Normally we list all file format updates in a combined section, but there has been so much work done on PSD support (and by so many people) that we wanted to highlight it in more detail. First, new contributor Frank Teklote has been busy improving our compatibility with PSDs. His big project for this release was creating a PSD metadata export procedure for TIFFs and JPEGs. This complements our existing PSD metadata import procedure, meaning that if you import a JPEG with paths or a TIFF with layers (or create one in GIMP), that information can now be retained in the exported image.
通常我们会将所有文件格式的更新放在一个综合章节中,但由于 PSD 支持方面的工作量巨大(且参与人数众多),我们希望更详细地介绍它。首先,新贡献者 Frank Teklote 一直致力于提高我们对 PSD 的兼容性。他在此版本中的大项目是为 TIFF 和 JPEG 创建 PSD 元数据导出程序。这补充了我们现有的 PSD 元数据导入程序,这意味着如果你导入带有路径的 JPEG 或带有图层的 TIFF(或者在 GIMP 中创建一个),这些信息现在可以保留在导出的图像中。
Related to that, Jacob Boerema has implemented PSD Descriptor import support. Most of our current PSD support has been based on the public Adobe specification. This document was last updated in 2019 however, and modern PSDs use a relatively undocumented text format called Descriptors to store many features. Now that GIMP can read descriptors, we’ve begun drastically improving our PSD import support.
与此相关,Jacob Boerema 实现了 PSD 描述符(Descriptor)导入支持。我们目前的大部分 PSD 支持都是基于 Adobe 的公开规范。然而,该文档最后一次更新是在 2019 年,而现代 PSD 使用一种相对未公开的文本格式(称为描述符)来存储许多功能。现在 GIMP 能够读取描述符,我们已经开始大幅改进我们的 PSD 导入支持。