Jump to content
How to Install Plugins ×

Color Channel Mixer

Recommended Posts

I have been working on an effect that can mix the channels (Alpha, Red, Green, Blue) in each color and perform addition and scaling on the channel.

For each channel the following is done

channel = ((source) + add) * scale

IF Invert

channel = 255 - channel


The "source" can be

- Alpha, Red, Green, Blue : standard channels in a color

- Default : orig value of channel

- Set : user defined value

- intensity : color intensity

If the source is "set" the value from track bar is used.

The add amount is next applied and can be -255 to 255.

The value can then be scaled (multiplied) by 0.0 to 10.0

And last the value can be inverted.

The order that channels are processed can be set with combo boxes or by clicking the labels with "->" to shift the order right.


Drag the dll into the "*\Paint.Net\Effect" folder and in the Effects->Photo menu "Channel Mix Effect" and a lightweight "Alpha Mixer" version should appear.


I uploaded both the effect file dll and the vs2008 solution if anyone cares to look at the source code.



  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Create New...