what the heck!! that is so wild, mind blowing, i thought the main difference between raster graphics and vector graphics was the quality but i didn’t think about it too deeply.

i had no idea svg files actually used html code and pretty much could be modified using only text and amazing code woa!!! this opens up the possibility for so many things on linux i think.

for example, on a linux distro, we could modify the desktop environment and make it waaaaay lighter by getting rid of jpg or png icons and just using pure svg on it.

svg can be given a lot of attributes like movement, mouse hovering, change color, change anything. and most svg files are still under a megabyte. wow… please let me know other fun facts about svg or eps files. i really like doing graphic design on linux and inkscape.

  • phr@discuss.tchncs.de
    link
    fedilink
    arrow-up
    14
    ·
    1 day ago

    litghter, as in smaller, yess. but keep in mind, that vector graphics need to be rendered, wich depending on circumstance and graphic might become inefficient.

    i never crunched the numbers, but basically youre outsourcing the generation of a rastergraphic to those who open up your website.

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      Though this also has advantages - not only will they be drawn at an appropriate resolution, they can also be styled & modified by the user. If I’m using Dark Reader and your icons are SVGs using currentColor, they’ll render with the same color as other text. The best you can do for raster graphics is inverting them.