@blockchaincommons/lifehash - v1.0.0-beta.2
    Preparing search index...

    Interface LifeHashOptions

    Options for makeFromUtf8, makeFromData and makeFromDigest: the reference's three trailing parameters, each with the default the C++ library uses.

    interface LifeHashOptions {
        version?: LifeHashVersion;
        moduleSize?: number;
        hasAlpha?: boolean;
    }
    Index
    version?: LifeHashVersion

    "version2" by default.

    moduleSize?: number

    Pixels per cell (a positive integer), 1 by default.

    hasAlpha?: boolean

    Emit RGBA with an opaque alpha channel; RGB by default.