@gphone/sdk
    Preparing search index...

    Function placeholderPhoto

    Deterministic placeholder imagery, for the fixtures an app renders in a browser.

    Exported for the same reason createCrudStore above is: an app cannot import by path (§2.7), and both app-side consumers of these are apps — the camera's stand-in viewfinder frames and Developer Tools' test-SMS avatar. Without this line each would have to carry its own copy of the generator, or go back to hotlinking someone else's avatar service (GPHONE-35).

    Safe to sit in the SDK because lib/ is state-free and I/O-free by definition (AGENTS.md §8), so it bundles into a sandboxed add-on unchanged.

    • An abstract stand-in for a photograph — gallery items, message attachments, the camera viewfinder in a browser.

      Deliberately not trying to look like a photo. Something that almost passes is worse than something that obviously stands in: nobody files a bug about a gradient, and everybody files one about a photo that will not load.

      Parameters

      • seed: string

      Returns string