Where Are All The Pretty Graphics?

ShapeMaker v1.4 released

April 25, 2017   -   Filed under: paint.net - Tags:

The new version has a revamped user interface.
– Native controls; respects Windows themes
– Resizble window

There were also many “ease of use” enhancements made. See the full changelog over at the official paint.net fourm.

A Script Kiddie’s Guide to CodeLab

April 16, 2017   -   Filed under: CodeLab

In the hopes of getting more people to use CodeLab, I wrote a guide aimed at Script Kiddies. It goes over all the things a non-programmer can do with CodeLab.

The guide is up on the official paint.net forums: CodeLab for average users – A Layman’s Guide

CodeLab v2.19 released

April 15, 2017   -   Filed under: CodeLab

Back in the days of CodeLab v2.17, I contributed a new feature that displayed Error Messages (as tooltips) directly in the code editor. Unfortunately, there was a small bug with that feature: Given the right circumstances, it could crash paint.net.

This crashing bug went unnoticed (or at least unreported) for many months. CodeLab v2.18 was even released before it was reported. Not enough people are using CodeLab on a regular basis! 🙁


Anyways, v2.19 was released today, and it finally fixes the bug.

Another nice change I added in v2.19 is filtering of the IntelliBox (autocomplete box). As you type, items in the IntelliBox now filter to show only matching items.

^Here the IntelliBox has been filtered to only show items containing “gold”. Since the Gold item starts with “gold”, it is automatically selected.


For the full changelog, and to download, see BoltBait’s post on the official paint.net forums.

‘Rubber Stamp’ plugin has been published

  -   Filed under: paint.net

I have published the ‘Rubber Stamp’ paint.net plugin I previously mentioned.

Here’s an example ‘Before and After’…




It can be downloaded on the official paint.net forum.

Creating custom EffectEnvironmentParameters in paint.net

April 2, 2017   -   Filed under: paint.net

This weekend I made a new plugin for paint.net: ‘Rubber Stamp’. It uses the the built-in Clouds effect to create a rubber stamp texture, and masks it the object on the canvas.

The thing about the Clouds effect is that it’s hard-coded to use the Primary and Secondary colors from the Colors window. When the Clouds effect is called from another effect (like my plugin), the Primary and Secondary colors are set to their default values of Black and White. Unfortunately, they are stuck at Black and White, as the PrimaryColor and SecondaryColor properties only have getters; no setters.

What we have to do is create a custom EffectEnvironmentParameters object. In its constructor, we can set the PrimaryColor and SecondaryColor properties to whatever we want.

using (EffectEnvironmentParameters envirParameters = new EffectEnvironmentParameters(ColorBgra.Red, ColorBgra.Blue, 0, EnvironmentParameters.GetSelection(srcArgs.Bounds), srcArgs.Surface))
    cloudsEffect.EnvironmentParameters = envirParameters;

Here I used the colors of Red and Blue. Since the Cloud effect doesn’t use the Brush Width, it’s just set it to 0. Next I passed the selection defined PdnRegion, and the source Surface.

Finally I set the Clouds effect’s EnvironmentParameters property to my own custom EffectEnvironmentParameters with Red and Blue.