Skip to content

Releases: domenic/svg2png

1.1.0

06 Apr 03:31
Compare
Choose a tag to compare

Added better error output when the dimensions cannot be calculated.

Now scales images with both viewBox and width/height attributes (#13).

1.0.1

09 Feb 20:41
Compare
Choose a tag to compare

svg2png is now more intelligent about finding PhantomJS; for example, it will now work in situations where the phantomjs npm package is installed next to svg2png, instead of as a child of it. (This could occur if a sibling of svg2png also depends on phantomjs, causing npm to move phantomjs up to be next to both packages.) #7

The minimum PhantomJS dependency was also upgraded to 1.9.7, which caused a slight improvement in the quality of the images output. See the comparison with GitHub's image diffs. Notably, any green borders you might have experienced as per #3 are now gone.

1.0.0

09 Feb 20:37
Compare
Choose a tag to compare

Initial release.