Paint.NET 插件可以在 Paint.NET 之外使用吗?

发布于 2024-08-22 11:17:08 字数 188 浏览 3 评论 0原文

我可以轻松使用为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眉目亦如画i 2024-08-29 11:17:08

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.

审判长 2024-08-29 11:17:08

如果您有任何 .NET 程序集,只要正确使用,就可以在代码中使用它。

在您的情况下:

1-您确定您将正确实现插件的所有接口(您的代码的行为就像 Paint.NET 一样)?

2- 您确定该插件在完成其工作时不依赖于 Paint.NET 本身吗?

3-您确定插件的所有公共接口都不相互依赖(我的意思是您不需要连续调用 2 个公共方法来执行单个功能)?

如果没有这个插件
混淆,您可以反转其
使用 Reflector 编写代码并使用
代码如你所愿。

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)?

If this plug-in is not
obfuscated, you can reverse its
code with Reflector and play with
the code as you like.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文