DEV Community

Discussion on: How to quickly batch resize, compress, and convert images with a Bash one-liner

Collapse
 
booyaa profile image
Mark Sta Ana • Edited

Having more workers allows you to process more data (in this case images) at the same time. The workers can process different chunks of the image. Number of workers will match the number of CPU cores you have on your computer. This is the same technique you would adopt when compiling code rather than wait for data to be processed sequentially.