Function flipImage

  • Internal

    Flips an image buffer and returns the resulting buffer.

    Parameters

    • buf: Buffer

      The image buffer to use.

    • Optionalvertical: boolean

      If true, flip vertically instead of horizontally.

    Returns Promise<Buffer>