@newspapper/core
    Preparing search index...

    Function probeImage

    • Read the real format and dimensions out of the bytes. The declared Content-Type and the filename extension are ignored entirely.

      Parameters

      • data: Buffer

      Returns Promise<ProbedImage>