Hacker News new | past | comments | ask | show | jobs | submit login

> HVIF does have level-of-detail hinting

Yeah, the Icon-O-Matic application documentation[0] has some more info on this.

From the site:

> With the LOD you control the visibility of a shape depending on its size.

> That way, you can leave away details of an icon that look good on a bigger icon, but maybe not so much on its smaller version.

> The LOD is not only for leaving out detailing shapes, but also to e.g. change the stroke width at different sizes, if you feel that's needed.

> Simply duplicate a shape, make your changes and set both of their LOD settings to show either one or the other.

Looks like somewhat similar to CSS media queries.

Edit: Looks like[1] SVG has a similar feature too.

[0] https://www.haiku-os.org/docs/userguide/en/applications/icon...

[1] https://twitter.com/tzmartin/status/688950091063771137




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: