WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
281638
Make it possible to get a raster image from an SVG image data
https://bugs.webkit.org/show_bug.cgi?id=281638
Summary
Make it possible to get a raster image from an SVG image data
Said Abou-Hallawa
Reported
2024-10-16 18:41:01 PDT
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
Comment 1
2024-10-16 18:41:16 PDT
<
rdar://problem/138081516
>
Said Abou-Hallawa
Comment 2
2024-10-16 19:38:58 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/35337
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug