Bug 281638

Summary: Make it possible to get a raster image from an SVG image data
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: 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
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
Radar WebKit Bug Importer
Comment 1 2024-10-16 18:41:16 PDT
Said Abou-Hallawa
Comment 2 2024-10-16 19:38:58 PDT
Note You need to log in before you can comment on or make changes to this bug.