Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
leptons
· 2y ago · 0 comments
I'll add one of my favorite SVG tools... a tool to crop SVGs. Sometimes the SVG has a wide border around it or something funky that makes dealing with centering it difficult. This tool just crops it to the visible elements:
https://svgcrop.com/
Comments
[–]
qingcharles
2y ago
Very handy, thank you. I'm always having to do this manually for icons.
[–]
k4rli
2y ago
Thanks, bookmarked. Have needed this in past but fixed manually.
[–]
clementmas
2y ago
Does is translate the element or actually redraw it?
[–]
drewbitt
2y ago
It calculates the minimal bounding box that encompasses all visible elements within the SVG and crops.