Sign in to follow this  
metobi

ColorExchange v1.1

Recommended Posts

ColorExchange v1.1

 

This is my first plugin ever! I wanted to know how it would look if you exchanged the values of different colors in a pixel, that's why I wrote this plugin.

 

What is this?

This plugin takes every pixel and replaces color values inside the pixel. Ever pixel is build from a red, a green, a blue and an alpha value. You choose one of these values and choose, with which value you would like to replace it: Red, Green, Blue, Alpha or Zero (this deletes the color from the pixel).

Here is the UI:

 

cK0soAB.jpg

fVt06MU.jpg

 

Do you have some example pictures?

Of course! Here is the original:

sufjJof.jpg

And this happens when you replace Green with Blue (as shown in the UI):

UawCIW8.jpg

 

Why would I need this?

I have absolutely no idea. I just wanted to know how it looks like. Play around with it and produce some crazy pics!

 

Anything else?

Yes, as this is my first plugin for Paint.NET I have included the source code. If you are a experienced developer, please give feedback!

ColorExchangePlugin.zip

Share this post


Link to post
Share on other sites

Nice effect metobi - or should that be Obi Wan Metobi? :)

 

There are a number of configurable parameters which you can populate automatically.  Try a header in your source like this:

 

// Name: ColorExchange
// Author: metobi
// Submenu: Color
// URL: http://www.getpaint.net/redirect/plugins.html
// Title: ColorExchange - © 2013 metobi


Place this just before the line which begins....

 

#region UICode

 

For lots of neat tips on using CodeLab, drop by BoltBait's website:  http://www.BoltBait.com

Share this post


Link to post
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.

Sign in to follow this