Feature request: Render SVG Images
- Dominant language
- JavaScript
- Stars
- 35.8k
- Forks
- 4.1k
- Avg merge
- 2d 26m
- Merged PRs (30d)
- 33
Description
**Is your feature request related to a problem? Please describe.**
I recently received an HTML phish that had a Base64 encoding in the HTML. Upon decoding the Base64 with CyberChef it revealed an SVG image. Render Image does not support this image format. So I went to an online tool to render the SVG. This SVG turned out to be a white bar that was used to obscure part of the rendered screen. A copy of the Base 64 is below
PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48dGl0bGU+YXNzZXRzPC90aXRsZT48cGF0aCBkPSJNMTgsMTEuNTc4di44NDRINy42MTdsMy45MjEsMy45MjgtLjU5NC41OTRMNiwxMmw0Ljk0NC00Ljk0NC41OTQuNTk0TDcuNjE3LDExLjU3OFoiIGZpbGw9IiM0MDQwNDAiLz48cGF0aCBkPSJNMTAuOTQ0LDcuMDU2bC41OTQuNTk0TDcuNjE3LDExLjU3OEgxOHYuODQ0SDcuNjE3bDMuOTIxLDMuOTI4LS41OTQuNTk0TDYsMTJsNC45NDQtNC45NDRtMC0uMTQxLS4wNzEuMDdMNS45MjksMTEuOTI5LDUuODU4LDEybC4wNzEuMDcxLDQuOTQ0LDQuOTQ0LjA3MS4wNy4wNzEtLjA3LjU5NC0uNTk1LjA3MS0uMDctLjA3MS0uMDcxTDcuODU4LDEyLjUyMkgxOC4xVjExLjQ3OEg3Ljg1OGwzLjc1MS0zLjc1Ny4wNzEtLjA3MS0uMDcxLS4wNy0uNTk0LS41OTUtLjA3MS0uMDdaIiBmaWxsPSIjNDA0MDQwIi8+PC9zdmc+
**Describe the solution you'd like**
Render Image option to render SVG/Base64 encoded SVG with the ability to toggle the background or to select a render that will show the image AND the image with a toggled background.
**Describe alternatives you've considered**
I used hxxps[://]base64[.]guru/converter/decode/image/svg to render the image, I had to use the toggle background color option to see that this image was actually a white bar.
**Additional context**
Below is an image that shows the Base64 being redered (with the background toggled as it was white when rendered.

Contributor guide
Research direction
The issue targets the Render Image option; begin by locating that operation and its existing image-format handling. No file or test is named. Done means SVG and Base64-encoded SVG render, with a background toggle or both views available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100