Fixing SVG & PNG size equivalence.

Tests have been added to prove the implementation is right this time.