Data URI scheme support for images in settings.json #9376

Open
opened 2026-01-31 01:53:02 +00:00 by claunia · 1 comment
Owner

Originally created by @marveloo on GitHub (Jul 1, 2020).

Description of the new feature/enhancement

It would be great to be able to set image files (like icon or backgroundImage) in settings.json using data URI scheme. This could be useful when making backups or clones of Windows terminal settings, when syncing them with other devices, etc., especially when our custom profiles are concerned.

Proposed technical implementation details

An example fragment from settings.json for a custom icon:

{
    "guid": "{7895828e-1e14-4068-89b4-582567b7495e}",
    "name": "MySQL",
    "commandline": "wsl.exe mysql -u username -p",
    "hidden": false,
    "icon": "data:image/png;base64,iVBORw0KG..............goAJRU5ErkJggg=="
}
Originally created by @marveloo on GitHub (Jul 1, 2020). # Description of the new feature/enhancement It would be great to be able to set image files (like `icon` or `backgroundImage`) in settings.json using data URI scheme. This could be useful when making backups or clones of Windows terminal settings, when syncing them with other devices, etc., especially when our custom profiles are concerned. # Proposed technical implementation details An example fragment from settings.json for a custom `icon`: ``` { "guid": "{7895828e-1e14-4068-89b4-582567b7495e}", "name": "MySQL", "commandline": "wsl.exe mysql -u username -p", "hidden": false, "icon": "data:image/png;base64,iVBORw0KG..............goAJRU5ErkJggg==" } ```
claunia added the Help WantedArea-SettingsIssue-TaskProduct-TerminalPriority-2 labels 2026-01-31 01:53:02 +00:00
Author
Owner

@DHowett commented on GitHub (Jul 1, 2020):

I'm actually shocked that we didn't have a workitem for this already. Yeah, absolutely, we need this.

@DHowett commented on GitHub (Jul 1, 2020): I'm actually shocked that we didn't have a workitem for this already. Yeah, absolutely, we need this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9376