Bug 281638
| Summary: | Make it possible to get a raster image from an SVG image data | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
| Component: | Images | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | NEW | ||
| Severity: | Normal | CC: | fujii.hironori, sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Said Abou-Hallawa
It has been easy to do this for a bitmap image binary data. Just creating a BitmapImage, calling its setData() and then its nativeImage() method will do the job.
But for SVGImage it is not clear how and where this can be done. WebKit should provide a way to get a raster image from the SVG image data. WebKit is actively fixing many security and specs issues in the SVG code.
SVGImage can have animation and JS. But in the scenario of getting a NativeImage of it, animation and JS should be disabled.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/138081516>
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/35337