Jump to content
How to Install Plugins ×

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
Link to comment
Share on other sites

  • 4 weeks later...
  • 8 years later...
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


Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait


Link to comment
Share on other sites

Images rehosted thanks to @ReMake

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.

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