Why Nostr? What is Njump?
2024-08-02 14:38:05
in reply to

Amadeus Maximilian on Nostr: that’s part of what I’m doing, but that doesn’t give me the image data, only ...

that’s part of what I’m doing, but that doesn’t give me the image data, only paths. 🤔 Apparently importing with a ?raw query corrupts the data.

I ended up falling back to loading the file from the file system via Node to get the raw data and generate the placeholder. 🤔 That has the benefit of me being able to use the same code for remote images which I’m fetching via fetch(). 😊

Initially I had hoped to use the image pipeline via getImage() to integrate the generation.
Author Public Key
npub1dau6hu3yy56qs355mzkd7n5lastdh73njy7qt609894559t6thtsny34ue