Function getImgSize

  • Internal

    Gets width and height from an image buffer.

    Parameters

    • b: Buffer

      The image buffer to get dimensions from.

    Returns Promise<{
        height: number;
        width: number;
    }>