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.
this has largely happened; if you’re on a dpkg-based distro try running this command:
dpkg -S svg | grep svg$ | sort
…and you’ll see that your distro includes thousands of SVG files :)
explanation of that pipeline:
dpkg -S svg
- this searches for files installed by the package manager which contain “svg” in their pathgrep svg$
- this filters the output to only show paths which end with svg; that is, the actual svg files. the argument to grep is a regular expression, where$
means “end of line”. you can invert the match (to see the pathsdpkg -S svg
found which only contain “svg” in the middle of the path) by writinggrep -v svg$
instead.sort
command does what it says on the tin, and makes the output easier to readyou can run
man dpkg
,man grep
, andman sort
to read more about each of these commands.Is this the same as
pacman -Ql
?Edit: the dpkg part is.
for alpine linux users:
apk info -L $(apk info) | grep -v contains | grep 'svg'