DDNet - v0.8.1
    Preparing search index...

    Function convertToGrayscale

    • Converts a buffer to grayscale.

      Parameters

      • buf: Buffer

        The buffer to work on.

      • reorder: boolean = false

        If the buffer should be reordered by the reorderBody function.

      Returns Promise<{ data: Buffer; info: OutputInfo }>