Why Nostr? What is Njump?
2024-07-31 16:15:26

Amadeus Maximilian on Nostr: Ugh, is it really *that* difficult to get custom image placeholders in Astro for ...

Ugh, is it really *that* difficult to get custom image placeholders in for local and remote images, or am I just dumb? 😅

Does anyone have good strategies to get raw image data out of the `getImage` function? 🤔 Ideally, I’d want my transformer to generate a tiny placeholder image in addition to the different sizes but return it as a Buffer, so I can extract the dominant colour and generate a Thumbhash from it. 😅

#webdev #js #astro #ssg
Author Public Key
npub1dau6hu3yy56qs355mzkd7n5lastdh73njy7qt609894559t6thtsny34ue