matrix icon indicating copy to clipboard operation
matrix copied to clipboard

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

Open lexum0 opened this issue 1 year ago • 3 comments

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

lexum0 avatar Feb 11 '24 17:02 lexum0

You're right, this is low hanging fruit. 🍐

This month I'm diving back into this project (in my free time) after completing a circuit of other projects, and I'll start with this feature request

Rezmason avatar Feb 11 '24 20:02 Rezmason

Awesome! Thank you!

lexum0 avatar Feb 11 '24 20:02 lexum0

Any news on this? I've been playing with some code to load the user's wallpaper and add some depth with a parallax effect so I was wondering if this feature would be ready since I already have the code to test it

lexum0 avatar Aug 09 '25 02:08 lexum0