I use Photoshop for carpet designing. My typical artwork is 1800 × 2400 pixels with 8 or 10 colors. Each pixel's position and color is important.
The weaving macine which outputs the carpet can't make 1 pix high horizontal single color lines in good quality if the line has length 10 pix or more. A single color pattern can well be 10 pix (or more) wide if it is higher than 1 pix.
See my image sample. I have marked some problematic lines:
Until this I have walked through the image manually and replaced the problematic lines one by one. That's very time consuming job and easily some errors stay unnoticed.
I need a fast method - maybe a script or Photoshop plugin or separate program - that finds all those 1x10 (or more) single color lines and replaces them with another pattern of the same color. Even automatic finding would be a delight. If I could define also other patterns to be found and replaced, the software add-on would be luxorius.
Can anyone help me?