-
Posts
15,728 -
Joined
-
Last visited
-
Days Won
405
Everything posted by BoltBait
-
How do I link a plugin DLL with a utility DLL?
BoltBait replied to MJW's topic in Plugin Developer's Central
If you are still curious how to use a dll file within an application, I have prepared a simple application for you to illustrate how to do it. I chose an executable here, but doing this from an effect dll would be the same. (Sorry if this offends you, I'm just not sure your level of understanding.) Here is the compiled app: MyFormApp.zip Here is the project files: MyFormSrc.zip What this project does not address is the versioning problem. That is, if you make changes to the dll file, the project may stop working. Bug fixes should be fine, but don't add/delete functions or change the parameter list of a function. If you do add/delete functions from your dll or change the parameter list of a function, you should change the dll's name to avoid versioning problems. Just so you know, none of my effect dll's rely on external dll's for this very reason. Programmers that do put their library functions into a separate dll can tell you how much trouble their users have with installing an older version of the library dll over the top of a new library. Hope this helps. -
How do I link a plugin DLL with a utility DLL?
BoltBait replied to MJW's topic in Plugin Developer's Central
Oh, ok... Further reading: http://stackoverflow.com/questions/189549/embedding-dlls-in-a-compiled-executable -
How do I link a plugin DLL with a utility DLL?
BoltBait replied to MJW's topic in Plugin Developer's Central
I don't really recommend making plugin dll's that rely on external dll files. Ask any of the authors who do this why it is a bad idea (versioning). Here is some additional reading: http://stackoverflow.com/questions/18362368/loading-dlls-at-runtime-in-c-sharp -
How to Write an Effect Plugin (Part 6 - Adding Help)
BoltBait replied to BoltBait's topic in Plugin Developer's Central
These lines are there to set the effect window's title: // Change the effect's window title props[ControlInfoPropertyNames.WindowTitle].Value = "HSV Eraser"; Usually, they are only included if you specify: // Title: HSV Eraserin your script.If you leave that line out, paint.net generates a title for your window automatically. -
Positioning, sizing prints on paper.
BoltBait replied to reepotomac's topic in Paint.NET Discussion and Questions
Try posting your comment on the plugin thread. The author of the plugin may be able to make the necessary changes to support your request. But, he probably won't see your post here. -
Can I see animation of my pictures?
BoltBait replied to breakmt's topic in Paint.NET Discussion and Questions
Try this plugin: http://forums.getpaint.net/index.php?showtopic=17516 -
CodeLab 2.8 Released This is only for Paint.NET 4.0.6+! Changes: ▪ Install.bat files are now good enough to ship with your .dll files. Grab the CodeLab DLL here: http://www.boltbait.com/pdn/CodeLab/ Notes: In the past, when you saved an effect to a .dll file, the .dll file was placed on your desktop and a small install.bat file was also put on your desktop to simplify the act of installing the effect into paint.net. This batch file was customized for your system and was not suitable to ship with your effect. With this build of CodeLab, these install.bat files are flexible enough to be shipped with your effect. Just zip up the .dll file along with the install.bat file and distribute that package. I'm sure that plugin pack owners will be smart enough to modify the install.bat file to install all effect plugins, filetype plugins, and shapes included in their plugin packs. I'm off to do that very thing with my plugin pack. In fact, mine even installs a palette file. Anything that makes installing effects easier is a huge step forward!
-
The normal way to get rid of that dot is to click on the "Finish" button on the tool bar.
-
Making and using a bussiness card template.
BoltBait replied to Leigh56's topic in Paint.NET Discussion and Questions
I tried it... it is terrible. If you really want to work in the CMYK color space, you should use a commercial image editor (Photoshop, Corel, etc.) -
Positioning, sizing prints on paper.
BoltBait replied to reepotomac's topic in Paint.NET Discussion and Questions
Try using this plugin: http://forums.getpaint.net/index.php?/topic/28520-print-it-tools-effect/ -
Ever hear about "truth in advertising"? Here's a quick edit: Hope this helps... ________________________
-
Using Forum "Search"
BoltBait replied to ScrapbookWithPDN's topic in Paint.NET Discussion and Questions
It also searches paint.net specific sites including BoltBait.com. -
There are several reasons this could be happening. It is very common, by the way. - You have an active selection and you're trying to type outside of that selection. To correct, press Ctrl-D before clicking on the text tool. - The layer you're typing on is covered by another layer. To correct, be sure you're typing on the upper most layer. - The color you're typing is the same color as the layer you're typing on. To correct, change your primary color. - The color you're typing has the alpha turned all the way down. To correct, raise the alpha of the primary color.
-
Suggested "How to" topic: Non-PropertyBased controls
BoltBait replied to MJW's topic in Plugin Developer's Central
I would like to see a tutorial (including links to resources) on how to use the OptionBased library. Once I play with it and learn the ins-and-outs, I wonder if I could add support for it in CodeLab... Who is the developer/maintainer of the OptionBased library? -
Here is one library: http://forums.getpaint.net/index.php?/topic/28226-
-
http://forums.getpaint.net/index.php?/topic/692-install-update-or-uninstall-trouble-read-this/?p=326988
-
Right-click on your paint.net icon and choose "Properties". In the Shortcut tab, click "Open File Location" button. In the paint.net install directory, double-click on the PdnRepair.exe application. See if that fixes the problem.
-
How do i make outlined dots and make lines?
BoltBait replied to Repton's topic in Paint.NET Discussion and Questions
https://boltbait.com/pdn/InstallingEffects.php -
Asmageddon's Strange Bulger & Strange Bulger B
BoltBait replied to ReMake's topic in Plugins - Publishing ONLY!
I'm going to unlock this. David, he actually is publishing a revised version. -
More like... Ink Sketch.
-
CodeLab 2.7 Released This is only for Paint.NET 4.0.6+! Changes: ▪ UI controls now have custom types. This means the Angle control can now have a specified default angle instead of always 45. (Requested by MJW) ▪ Cleaned up all of the File New template code generation for the new types. ▪ Fixed the Intellisense code to work better with UI variables. ▪ Fixed a couple of dialog box issues. Grab the CodeLab DLL here: http://www.boltbait.com/pdn/CodeLab/ Conversion: You can open and work with older style scripts without a problem. If you want to convert an older script to the new style, just open it in CodeLab and press Ctrl-I, Enter. This will open the UI Designer and update the UICode block. Example: The older UI control block looked like this: #region UICode int Amount1 = 4; // [0,100] Shadow radius Pair<double, double> Amount2 = Pair.Create( 0.02 , 0.02 ); // Offset ColorBgra Amount3 = ColorBgra.FromBgr(0,0,0); // Shadow color double Amount4 = 0.5; // [0,1] Shadow strength bool Amount5 = false; // [0,1] Keep shadow only #endregion The new UI Custom Types look like this: #region UICode IntSliderControl Amount1 = 4; // [0,100] Shadow radius PanSliderControl Amount2 = Pair.Create( 0.0 , 0.0 ); // Offset ColorWheelControl Amount3 = ColorBgra.FromBgr(0,0,0); // Shadow color DoubleSliderControl Amount4 = 0.5; // [0,1] Shadow strength CheckboxControl Amount5 = false; // [0,1] Keep shadow only #endregion