drupflare/worker - v1.0.4
    Preparing search index...

    Function tinyimgBinding

    • The decoder and its transform, as spool's WebP encoder adapter takes them. The module is not touched until the encoder runs, so wiring it in costs an isolate nothing until an image converts.

      Returns {
          module: TinyImgModule;
          transform: (
              module: TinyImgModule,
              source: Source,
              options?: TransformOptions,
          ) => Promise<TransformResult>;
      }

      • module: TinyImgModule
      • transform: (
            module: TinyImgModule,
            source: Source,
            options?: TransformOptions,
        ) => Promise<TransformResult>