MadJik

Change Extreme Colors (ymd:180125)

Recommended Posts

Change Extreme Colors

 

From this Change_Extreme_Colors05a.png   to this Change_Extreme_Colors05b.png

 

What's this?

I wanted a way to change the colors by selecting the extreme values (the darkest or the brightest). Here is the effect I just created for that.

 

This plugin was made using CodeLab v3.2.

 

 

Download it!

Plugin ChangeExtremeColors.dll

ar.png Here is the DLL http://jcljay.free.fr/pdn/ChangeExtremeColors.zip 

 

The MadJik's All plugins package is available!

http://forums.getpaint.net/index.php?showtopic=7186 

 

 

 

How to install

Close Paint.net

 

Classic version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually:

C:/Program Files/Paint.NET/Effects (please reverse / for correct path)

 

Microsoft Store version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually:

My Documents/paint.net App Files/Effects (please reverse / for correct path)

 

You have to adapt for your language My Documents

 

 

 

How to use it

Change_Extreme_Colors00.png
 

This image is created to test the effect. I suggest you to copy and paste it in paint.net to run the plugin and get familiar with the settings.

 

The sliders per channel define the range of colors to modify. And for each selected color you could increase/decrease with the amount for darkest or brightest.

 

The range around 128 is just between darkest and brightest. Default values of the interface make no modification to the image. You have to change something.

 

 

The User interface

This plugin is added to the menu Effects, submenu Color.

Change_Extreme_Colors01_UI.png

 

Limit for Red/Green/Blue

Set the values per channel to define the range of colors to modify.

 

Same values (Red)

Checked by default. If checked the slider Red is used for all the sliders. Unchecked to be able to change Green and Blue.

 

Dark Colors

Checked by default. If checked the colors in the darkest range are modified.

 

Dark adjustment

Add/subtract the value to the colors in the darkest range are modified on each channel.

 

Light Colors

Checked by default. If checked the colors in the brightest range are modified.

 

Light adjustment

Add/subtract the value to the colors in the brightest range are modified on each channel.

 

Average/Maximum of channels

When “Same values” is checked the test of the color is made on the average of the channel or on the maximum value of each channel. Maximum is better for monochrome colors when one channel is 255 and others are 0.

 

 

The Examples:

Change_Extreme_Colors01.png   Change_Extreme_Colors01_UI.png

 

Change_Extreme_Colors02.png   Change_Extreme_Colors02_UI.png


Change_Extreme_Colors03.png  Change_Extreme_Colors03_UI.png


Change_Extreme_Colors04.png  Change_Extreme_Colors04_UI.png

 

 

Voilà! Enjoy!

 

Let me see what you could do with it!

 

update 2018-01-27 (thanks to @ReMake

- Visual studio version

- Linked sliders (instead greyed).

- Translation to French and Russian

  • Like 3
  • Upvote 1

Share this post


Link to post
Share on other sites

I haven't still a really usage for this, but found a little text bug: "Dark adjutment" and "Light adjutment".

 

Additional I suppose to move the sliders for green and blue Limit, if they are connected.

 

 

Share this post


Link to post
Share on other sites
1 hour ago, IRON67 said:

found a little text bug: "Dark adjutment" and "Light adjutment".

Updated... thank you for reporting this.

 

1 hour ago, IRON67 said:

Additional I suppose to move the sliders for green and blue Limit, if they are connected.

I don't get what you mean.

When connected, only the first channel is used (Red channel) for all (same value used for green and blue).

 

 

Share this post


Link to post
Share on other sites

Perhaps @IRON67 meant that the sliders 'Limit Red/Green/Blue' should be linked like in 'Posterize' effect when 'Same values (Red)' is checked.

 

It's not affected to the work of effect, but visually will be look better (or as we are used to it).

Edited by ReMake
  • Like 1

Share this post


Link to post
Share on other sites

CodeLab proposes to grey and freeze element(s) depending on the value of another.

"Connected" isn't the way it works.

I will have to rebuild it with Visual Studio... and also to be able to add localisation...

  • Upvote 1

Share this post


Link to post
Share on other sites
43 minutes ago, MadJik said:

CodeLab proposes to grey and freeze element(s) depending on the value of another.

 

@BoltBait & @toe_head2001 made very simplified creation of plug-ins in CodeLab.

 

When CodeLab will be able to apply all the IndirectUI rules, then

On 11.01.2018 at 1:25 PM, toe_head2001 said:

Do we even need Visual Studio anymore? :P

 

Share this post


Link to post
Share on other sites
4 minutes ago, ReMake said:

When CodeLab will be able to apply all the IndirectUI rules

 

Never. I honestly have no intention to add the linked slider rule into CodeLab.

 

It already handles the Enable/Disable rule and the Wrapped value rule.  That's all you get.

Share this post


Link to post
Share on other sites

@ReMake is right. It's visually better. My first impression was, that something doesn't work until I saw the checkbox.

Edited by IRON67

Share this post


Link to post
Share on other sites

Very interesting plugin @MadJik   I'll have to experiment further.   I see the potential in this. Thank you for sharing...:D  :star:

 

changeextremecolor_01.jpg

 

changeextremecolor_02.jpg

 

  • Like 2

Share this post


Link to post
Share on other sites

@lynxster4 Thank you for sharing this great result.

 

 

update 2018-01-27 (thanks to @ReMake

- Visual studio version

- Linked sliders (instead greyed).

- Translation to French and Russian

  • Like 1
  • Upvote 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now