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 渐变为图像着色的 python 应用程序。除了让用户选择要使用的 GIMP 渐变之外,用户对着色没有更多的控制权。我正在考虑如何让用户更轻松地编辑或创建颜色渐变。是否有用于创建/编辑颜色渐变的预先存在的工具(最好使用 Python)?
你可以从这里获得一些关于创建渐变的信息,它还提供了一些如何使用它的示例代码。