Closed yuzhenmi closed 10 years ago
Nevermind! Fixed it with an online SVG editor. It was surprisingly easy!
Which editor?
On Oct 21, 2013, at 8:34 PM, Hans Yu notifications@github.com wrote:
Nevermind! Fixed it with an online SVG editor. It was surprisingly easy!
— Reply to this email directly or view it on GitHub.
Here is a much smaller version of the Poplar SVG. I got it down to 7 kb. I'm not sure if it's positioned the way you need it.
Apparently I can't upload SVG's to GitHub. Here's a link to the file on my Dropbox:
It looks really strange. Seems like a lot of the details are not being rendered?
Well, yeah. But it loads quick. I'll get someone to redraw it before we go live.
On 2013-10-29, at 1:43 PM, Hans Yu wrote:
It looks really strange. Seems like a lot of the details are not being rendered?
— Reply to this email directly or view it on GitHub.
Oh ok, sorry, thought the SVG was faulty since we lost so much detail :P
Jamie, can you format the SVGs so that they align with the top left corner of the screen? I know it already aligns when you open it in the browser, but that is because there is the viewBox attribute in the SVG file (in the svg tag), which Processing seems to ignore. The viewBox attribute acts as positional offset so that only a portion of the SVG is shown. Can you adjust it so that the absolute coordinates are aligned properly without the viewBox?
I've been manually adjusting the offsets in the species view, but since we're getting rid of hard coded stuff, I'd like to avoid having to adjust offsets for SVGs.
Thanks!