Hacker News new | past | comments | ask | show | jobs | submit login

I don't know about any bitmaps in my code, but I definitely should look into it, as it feels like it should be solvable, especially with SVGs. I opted for SVGs so I could give my icons the user-selected background color with CSS.



maybe something like: your canvas is set to an initial size and then a smaller SVG is drawn inside it. When that's saved for display the resulting .png isn't the same size as the canvas so the browser moves things around a little?

What would happen if you started your SVG output by drawing a canvas-dimensioned border?


Thanks! I saved your reply and I'm going to try your idea.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: