Sign in to follow this  

Advanced Color Replacement

Recommended Posts

This plugin is like a more useful version of the color replacement tool. Whereas the standard tool merely paints over pixels if they're close enough to the secondary color, this plugin recolors every pixel a different amount based on how similar it is to the secondary color.

For example I'll use this colorful image:




Here's the built in tool replacing pink with cyan at about 30%:




Notice the ugly, harsh edges and how some pinkish parts of the image are entirely untouched.


Now my plugin replacing pink with cyan:




No more ugly edges! My plugin changes all pixels of the image based on how similar each is to the secondary color.




*Threshold changes how strongly pixels are recolored based on how similar they are to the secondary color

*Roughness changes how quickly the recolor effect falls off after the threshold is passed when continuous replacement is selected. Lower values look 'nicer' but tend to give the image an overall tint

*Continuous replacement recolors all pixels different amounts and looks really nice. Cutoff works similar to the normal tool as pixels over the threshold are not recolored at all - recolored pixels however are colored more 'accurately' than with the built-in tool.

Note that this plugin works like the built-in tool inasmuch as the color used and the color replaced are the primary and secondary colors in the palette, respectively.


Edited by toe_head2001
Reattached Zip

Share this post

Link to post
Share on other sites
10 minutes ago, Svengali said:

What I supposed to do with the junk named "12635_2955e8ebabf0b67a6ffc3280a689423a"?


Some older attachments got scrambled during the forum upgrades, you need to rename the  "12635_2955e8ebabf0b67a6ffc3280a689423a" file and add a .zip extension.

  • Like 1

Share this post

Link to post
Share on other sites
On 1/16/2009 at 2:26 PM, silverhammer said:

This plugin is not in its proper wrapper.

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
Sign in to follow this