SongGuess
    Preparing search index...
    interface ImageTransformer {
        draw(
            image: ReadableStream<Uint8Array<ArrayBufferLike>> | ImageTransformer,
            options?: ImageDrawOptions,
        ): ImageTransformer;
        output(options: ImageOutputOptions): Promise<ImageTransformationResult>;
        transform(transform: ImageTransform): ImageTransformer;
    }
    Index

    Methods

    • Draw an image on this transformer, returning a transform handle. You can then apply more transformations, draw, or retrieve the output.

      Parameters

      • image: ReadableStream<Uint8Array<ArrayBufferLike>> | ImageTransformer

        The image (or transformer that will give the image) to draw

      • Optionaloptions: ImageDrawOptions

        The options configuring how to draw the image

      Returns ImageTransformer