ImageJS
    Preparing search index...

    Function read

    • Read an image from the disk. The file format is automatically selected based on the first few bytes. This method is only implemented for Node.js.

      Parameters

      • path: string | URL

        The path to the image.

      Returns Promise<Image>

      Image instance.