Summary: | svg conversion to png incorrect | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | cricri.bug | ||||||||||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||||||||
Status: | RESOLVED INVALID | ||||||||||||||
Severity: | Normal | CC: | ap, zimmermann | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Attachments: |
|
Created attachment 305281 [details]
i2.svg
Created attachment 305282 [details]
test.svg
Created attachment 305283 [details]
rasterize.js
Created attachment 305284 [details]
test.png
This SVG document looks as expected in Safari 10.1 beta. Please report the issue to phantom.js developers. |
Created attachment 305279 [details] i1.svg When using the last version of phantomjs, the conversion of svg to png is incorrect: open test.svg, and compare to test.png Version: The default user agent is Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1 To convert: ~/code/map-server/node_modules/.bin/phantomjs rasterize.js test.svg test.png '400px*400px'