Skip to content

Request: Set a custom image via JavaScript as a base64 string #55

@lexum0

Description

@lexum0

Adding a function to set a custom image via JavaScript with a base64 image string would make it very easy to customize with a local image by just calling a function like setBase64Image(string) with the image formatted as "data:image/jpeg;base64," + data.base64EncodedString() which is set in image.src

I'm currently using this method to customize jQuery WebGL Ripples in a macOS app (Backgrounds) to use it as a wallpaper. With this function it's very easy to use the user's wallpaper or any local file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions