src/main/java/org/gm4java/im4java/GMOperation.java
public GMOperation limitThreads(final int threadsPerProcess) {
        final List<String> args = getCmdArgs();
        args.add("-limit");
        args.add("threads");
        args.add(Integer.toString(threadsPerProcess));
        return this;
    }
public GMOperation limitThreads(final int threadsPerProcess) {
        final List<String> args = getCmdArgs();
        args.add("-limit");
        args.add("threads");
        args.add(Integer.toString(threadsPerProcess));
        return this;
    }
Limits the number of threads used by the GraphicsMagick process during execution. Note that no validation is
made, so ensure that the value is a non-positive integer presumably less than the maximum CPU cores on the host.

@param threadsPerProcess
Number of threads to use per process.
@return Builder object for chained options setup.