Function parseManifest

  • Parses IIIF manifest file to return a manifesto Manifest instance

    Parameters

    • manifest: any

      Either a string containing text of a manifest file or an javascript object obtained by deserializing by the JSON.parse function a manifest file.

    • Optional options: IManifestoOptions

    Returns null | IIIFResource

    instance of Manifest class. *