Hacker News new | ask | show | jobs
by dextorious 5362 days ago
Yes, you could provide multiple bitmaps in a website now, but in a convoluted way (with some custom javascript checking for resize events etc). In the icons case, it happens automatically.

As for SVG, client rendering time would be insignificant for most case (for a desktop machine at least, they have CPU to spare). But currently used IE version (> 6) for one don't support SVG. And the main problem are bitmap assets such as photographs. Those cannot be done as vectors.

1 comments

Sure... I didn't say that it would happen automatically, just that it could be done. Everything done on the web is convoluted.

Btw: why would you have to watch resize events? Changing the size of the browser window (even rotating the screen/phone) doesn't change the DPI.

My bad, I meant resize as in zoom-in out (Ctrl +-) of the page in general, not the $(window).resize().