Jump to content

ColorExchange v1.1


metobi
 Share

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

Link to comment
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

Link to comment
Share on other sites

Oooh, interesting.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

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...