Saturday, November 22, 2008

Tile Fill Addin

I just finished up a second Paint.NET addin. The first is available here.














This addin fills the current image with a tiled version of another image.Just copy an image to the clipboard, create a new image that is larger than the first, and run the addin.
For example, start with something like this:
And the tiled version could look like this:





It can be useful for creating textures, or patterned backgrounds.

Downloads:

Friday, November 21, 2008

Radius Fill Corners Update

I have gotten some feedback from the Paint.NET addin that I recently created. Most of the feedback has been positive, except for strange results occuring when a large radius is selected. This issue is related to how the code determines how to color each pixel for the image. Basically my calculations fall apart if the radius greater than a quarter of the height or width of the image. I knew this would be an issue, but decided not to restrict the radius size because I did not want to limit users who were working with large images.

I now realize that it is better to restrict the radius, but base it on the current image's size. This way you should always get the desired results.

Here are updated links:
source code
addin dll

Sunday, November 9, 2008

New Paint.NET Effect Addin for rounding the corners of an image

After searching through existing Paint.NET effect plugins, I did not find exactly what I was looking for (quick and easy way to round off the corners of an image, like the one below), so I decided to create one.


























With the help of Sepcot's template and tips from BoltBait’s site, the process was not too difficult, and it was an interesting learning experience. Most of the code is pretty similar to other examples, except that I decided to use some WPF libraries to help make the math calculations easier. The source code is available here, or you can just download the DLL for your personal use. Due to the WPF use, the .NET framework 3.5 is required for the effect addin to function. If you need help deploying the addin, there are tips here. Once you have got the addin working, just select the entire image and run the effect with the desired settings.

Tuesday, November 4, 2008

Paint.NET community

I used to spend a lot of time in Adobe Photoshop, but as the years have progressed I have spent more time coding, and less time performing graphics work. This eventually led the purchase price of Photoshop to be unjustifiable considering the limited amount of time I would spend using it. However, I still had a need for the occasional image manipulation, re-sizing, or touch-up. This is when I discovered Paint.NET. It is a great tool for the price (free!) and is very popular (so, you probably already know about it)...


What I had not realized until this week, is how great the community support for Paint.NET is. The application always just did what I wanted, so I had not taken the time to search for tips, tutorials, addins, etc. This week, I had a need to perform some more advanced task in Paint.NET, and found myself missing Photoshop’s capabilities. This lead me to search for some better ideas on how to accomplish the tasks I was working on. I quickly found out that there is a great community surrounding Paint.NET. There are tons of helpful blog posts on the net, and the Paint.NET forums are full of helpful users, tutorials, and free effect addins by developers such as Michael Sepcot, BoltBait, and Ed Harvey. This makes Paint.NET an even more useful product, and I’m looking forward to diving deeper into some of these community resources.