This task can be performed using Textilecolorseparation
Textile Color Separation
Best product for this task

Textilecolorseparation
remote-tools
Pipeline treatment for Color Separation and Reduction for Surface Pattern Design.

What to expect from an ideal product
- Takes a pattern design and automatically splits it into individual color layers
- Smooths out edges and cleans up messy transitions between colors
- Reduces the number of colors while keeping the design's look intact
- Creates print-ready separations that work for screen printing and textile production
- Handles complex patterns and converts them into workable color groups in seconds