Batch image program to replace 2 colors?

5,179

For a single color replacement I suggest you use XnView's batch processing tool:

XnView

If you need to replace a range of colors, or use tolerance settings (especially useful for JPEG images where neighboring pixels might have slightly different colors - sometimes imperceptible to the eye), I recommend Batch Images. It's also more user friendly for batch processing:

Batch Images Color Replace

Batch Images Color Replace

Disclaimer: I am a frequent user of both XnView and Batch Images.

Share:
5,179

Related videos on Youtube

TTem
Author by

TTem

Updated on September 18, 2022

Comments

  • TTem
    TTem almost 2 years

    I have a lot of .png images, and I want to replace a color to another color..
    Is there a batch program to do that? I'm on Windows 7

    • Dave
      Dave almost 12 years
      You need to update your question and make it clearer with more detail about your issue. Are you changing colours in a palette, in Microsoft/Mac/Linux OS itself or in a specific program?
    • TTem
      TTem almost 12 years
      @DaveRook I updated the question
    • Admin
      Admin almost 12 years
      Do you want to programmatically change one colour for another, in a series of PNG images?
  • Timores
    Timores over 8 years
    You can actually perform several color remplacements in XnView in a single batch run (with simple X->Y replacements).