< Previous | Contents | Next >

Usage

Image:MultiProcessPixels(function threadinitfunc, table globalenv, number x_start, number y_start,

number x_end, number y_end [, Image srcimg1 [, ...]], function processfunc)

threadinitfunc ( function, required)

This argument must be provided, but can be either nil. or a function. This can be used to provide a per-thread initialisation function, in case there is a need to calculate/remember something for each thread.