Super useful if you have to convert an html template to pdf. Actually for some time before http 2 it was actually "sold" as optimization (less http calls).
Imagine asking your client for their logo in vector graphic to place it in their new `prefers-color-scheme' landing page only to receive an svg file with an embedded, base64-endoced, png...
Even ChatGPT could have given you a better solution.
actually I don't think this is that bad a solution - this is the famous GitHub unicorn error page and it's meant (I imagine) to cope with outages of core infrastructure, probably including the CDN that might serve up their images)
Don't get me wrong! This is indeed a great use of encoded images (in particular base64 ones).
But ever since I've received that institutional logo, encoded and embedded as a png inside an svg I'm getting PTSD flashbacks every time I see and encoded image src 🥲
P.S.: since I refactored my https://qrcode.s94.dev nuxt module I cannot stop thinking about encoding information and move/present them around in unorthodox ways 😅
Comments
I love the simplicity. 💆♂️
Even ChatGPT could have given you a better solution.
But ever since I've received that institutional logo, encoded and embedded as a png inside an svg I'm getting PTSD flashbacks every time I see and encoded image src 🥲
I've encountered the exact same issue when asking for a vector image 🙈