Skip to content

Commit

Permalink
Updated SVG with background example size
Browse files Browse the repository at this point in the history
  • Loading branch information
Maumagnaguagno committed Mar 6, 2016
1 parent 91d4bfa commit fec755c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ img.save_bmp('red.bmp') # BMPs are uncompressed, eat HD (3.05 KB)
img.save_png('red.png') # PNGs are compressed, eat CPU (100 bytes)
# SVGs are vector based, CPU and HD usage varies
img.save_svg('red1.svg') # Without background (1.87 KB)
img.save_svg('red2.svg', 255, 0, 0) # With red background (126 bytes)
img.save_svg('red2.svg', 255, 0, 0) # With red background (114 bytes)
```

You can also load BMPs and PNGs, but PNGs already exploded for me with ZLib deflating under Ruby 1.8.7.
Expand Down

0 comments on commit fec755c

Please sign in to comment.