Re:Blurhash: A compact representation of a placeholder for a...
by mark-r on Friday November 04, 2022 @12:06PM
(#33468989)
SVG would be much larger for the same image, it's XML based.
[ Parent
| on HN ]
Re:Blurhash: A compact representation of a placeholder for a...
by SergeAx on Friday November 04, 2022 @01:23PM
(#33470395)
It would be nice if there was a way to translate/transcode Blurhash directly to SVG with a small piece if TS code.
Re:Blurhash: A compact representation of a placeholder for a...
by notpushkin on Friday November 04, 2022 @11:10PM
(#33477445)
True, but we have GZip for that, and you don't need a lib to parse it. Actually, it would be nice to compare the overall size needed for both Blurhash lib + a bunch of hashes vs a bunch of SVG placeholders glued together.