Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch replace colors
#8
Quote: Assuming the placeholder color has been picked because it doesn't occur anywhere in the textures, a color selection with a very low threshold would select all the blocks. It is also possible to select only on hue.

I do not know. The 'red' placeholder is RGB 240,40,48  and some of the image elements do contain a fair proportion of red.


Individually, not a problem, For batch, the best I get is with the gmic plugin http://www.gmic.eu using a gmic command in BIMP

Code:
fx_select_color 0,0,0,0,240,40,48,255,2,255,255,255,0,0,50,50

Maybe not 100% , you can see from the insets. Big block removed but tiny block remains (edit: ah just checked, different red)

   

Tried through the 55 images provided. No earth shattering records broken. Took about 45 seconds. (from the first post, "massive amount of texture files" I wonder how massive is massive)
Reply


Messages In This Thread
Batch replace colors - by EagleEye559 - 08-07-2020, 02:00 PM
RE: Batch replace colors - by rich2005 - 08-07-2020, 02:50 PM
RE: Batch replace colors - by EagleEye559 - 08-07-2020, 02:57 PM
RE: Batch replace colors - by rich2005 - 08-07-2020, 03:47 PM
RE: Batch replace colors - by EagleEye559 - 08-07-2020, 04:12 PM
RE: Batch replace colors - by rich2005 - 08-07-2020, 06:02 PM
RE: Batch replace colors - by Ofnuts - 08-08-2020, 01:09 PM
RE: Batch replace colors - by rich2005 - 08-08-2020, 02:13 PM

Forum Jump: