3 ms·
HVIF does have level-of-detail hinting, and I believe it also explicitly defines the pixel exact correct rendering although given the small audience I won't swe
by tialaramex 7y ago
HVIF does have level-of-detail hinting, and I believe it also explicitly defines the pixel exact correct rendering although given the small audience I won't swear they didn't miss anything.
So you can add a shape which just isn't rendered at all in lower resolutions. For example suppose the icon for your app is a stylised steam locomotive and you want to add your company logo on the side of the tank, this detail will look cool at 512x512 and maybe if the logo is simple at 128x128 but it will just be a blotch on the 16x16 icon - so HVIF lets you specify that the logo isn't added at all below say 128x128.
- pcr910303 7y ago> 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-o-matic.html#i-o-m-shape-lod https://www.haiku-os.org/docs/userguide/en/applications/icon... [1] https://twitter.com/tzmartin/status/688950091063771137 https://twitter.com/tzmartin/status/688950091063771137