Skip to content

basalt / image-sharp/src / applyOps

Function: applyOps() ​

> applyOps(image, ops): SharpLike

Defined in: image-sharp/src/index.ts:34

Applies the engine-neutral op list to a sharp instance, in order. Pure and synchronous over the chainable — unit-tested without the native binary.

Parameters ​

image ​

SharpLike

ops ​

readonly ImageOp[]

Returns ​

SharpLike

Released under the MIT License.