Jump to content

Plugin developing, easy access to custom blend modes, etc


Cookies
 Share

Recommended Posts

Hello, i don't know if this has been suggested before, but i couldn't really find anything.

So, while i was in the bus home today i suddenly got an idea, i don't know if it's good or bad, i thought of having one DLL file with custom pixel operations, blend modes and color structs like CMYK that anyone was allowed to use, i thought of it as a "community project" where everyone that will can contribute with  pixel operations, blend modes and color structs maybe even custom controls, just so everyone was able to get E.G. a "hard light" blend mode in their plugin.

Well, of course the plugin authors would have to link to the thread about this DLL so that people could get it, i wouldn't mind making this and asking some plugin authors if it's ok to use their color structs/blend modes/pixel operations

Is this a good or bad idea?   :D  

Edited by Cookies
CookiesSigPDN2.png

Link to comment
Share on other sites

Have you read this: http://www.boltbait.com/pdn/CodeLab/help/tutorial3.php and this: http://www.boltbait.com/pdn/CodeLab/help/tutorial4.php

I don't like using an external DLL file for effect plugins. I prefer to simply use the source code. This avoids all kinds of versioning problems.

(Ask Pyrochild how much of a PIA it is answering all the install questions!)

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

This would be versioning hell to put it into 1 DLL that's shared amongst plugins.

Code snippets however would be a good direction. This would duplicate the code in every plugin that wanted to use it, but that's a much lesser problem (a few KB of disk space, onoz!).

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I agree. I'm not sure that the hassle of loading another resource is worth the effort for a 60 line Codelab plugin. Each plugin using the resource would have to include it in the download wouldn't it? Otherwise the plugin would break. Then there are two files for users to install, etc...,

This: a repository of code snippets. Personally I'd find that more useful.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...