rullino
    Preparing search index...

    Function applyEdit

    • Renders an edit document on an image: its geometry, then its steps, then the output.longSide shrink (in linear light; never enlarges). Version 1 documents are migrated. Encode the result with encodeImage(result, doc.output). The source is not changed. It can be 8-bit RGBA pixels as a decoder produces them: on the GPU they are decoded there (much faster than decodeSrgb8 first).

      Parameters

      Returns Promise<LinearImage>