Re:HTML is a native image format, hear me out
by mpeg on Thursday June 11, 2026 @08:03AM
(#48489210)
I don't understand the advantage of this vs an html file with embedded images, except the latter would work with no runtime.
[ Parent
| on HN ]
Re:HTML is a native image format, hear me out
by yeargun on Thursday June 11, 2026 @08:05AM
(#48489234)
If you plan to serve your image with a self contained, single pack.
Then with html + rasterized images (.jpeg/.png, ..) you would have to pay extra size overhead caused by base64.
With hmml, you dont
Re:HTML is a native image format, hear me out
by mpeg on Thursday June 11, 2026 @08:11AM
(#48489279)
I get that, but the drawbacks outweigh the benefits imho and the b64 overhead is not solved, just deferred.
Say I want to distribute an hmml file as a single file, I'd have to create an html with the embedded js runtime, and then embed the hmml file... as b64, therefore negating any benefits.