Paint.NET 插件可以在 Paint.NET 之外使用吗?
我可以轻松使用为 Paint.NET 在我自己的 C# 应用程序中(假设我遵守插件许可)?
我的目标是自动化某些效果,Paint.NET 似乎有很多效果。
Can I easily use plug-ins made for Paint.NET in my own C# application (assuming that I comply with the plug-in licensing)?
My goal is to automate certain effects and it seems that there are quite a few for Paint.NET.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Paint.NET 以前是开源的。我做了一点谷歌搜索,发现了最后一个开源版本在这里: http://d.freewareshare.net/ 938276
您可以做的是从 Paint.NET 获取代码并在您的项目中使用它(例如,插件接口的东西)。我相信 Paint.NET 3.36 是根据某种超级宽松的开放许可证获得许可的,因此即使您的代码本质上是商业性的,也不应该成为问题。
Paint.NET was previously open source. I did a little Googling and I found the last open source version over here: http://d.freewareshare.net/938276
What you can do is take code from Paint.NET and use it in your project (eg. the stuff that plugins interface with). I believe Paint.NET 3.36 is licensed under some kind of super permissive open license, so even if your code is commercial in nature it shouldn't be a problem.
如果您有任何 .NET 程序集,只要正确使用,就可以在代码中使用它。
在您的情况下:
1-您确定您将正确实现插件的所有接口(您的代码的行为就像 Paint.NET 一样)?
2- 您确定该插件在完成其工作时不依赖于 Paint.NET 本身吗?
3-您确定插件的所有公共接口都不相互依赖(我的意思是您不需要连续调用 2 个公共方法来执行单个功能)?
If you have any .NET assembly, you can use it in your code as long as you use it correctly.
In your case:
1- Are you sure you will implement all the interface with the plug-in correctly (your code will behave as if it is Paint.NET)?
2- Are you sure the plug-in does not depend on Paint.NET itself in doing its job?
3- Are you sure all pubic interfaces of the plug-in does not depend on each other (I mean you need not to call 2 public methods consecutively to perform a single functionality)?