jupyterlab_export_svg_as_png_extension
Copy or export any SVG graphic in JupyterLab as a high-quality PNG image. Right-click on any SVG element - whether it's a chart output, a diagram, or an inline graphic - and choose to copy it to the clipboard as PNG or save it as a PNG file.
Full disclosure: SVG is a perfectly fine format that nobody asked to be converted. But sometimes you need a PNG for a slide deck, a report, or that one colleague who insists on pasting images into Word documents. This extension won't judge. It just converts.
Features
- Copy SVG as PNG - Right-click any SVG in a notebook output or document and copy it as a PNG to the clipboard
- Save SVG as PNG file - Download any SVG as a high-quality PNG file with a deterministic filename
- Theme-aware export - Resolves
@media (prefers-color-scheme)CSS in SVGs with configurable mode: follow JupyterLab theme (system), or force light/dark - Configurable output width - Set the PNG width in pixels (64 to 8192, default 1920/Full HD); height scales proportionally to preserve aspect ratio
- Background color options - Export with transparent, white, black, or custom background color
- Works everywhere - Context menu appears on SVG outputs, markdown previews, HTML rendered content, and SVG files opened directly
Installation
Requires JupyterLab 4.6.0 or higher.
pip install jupyterlab-export-svg-as-png-extension
Uninstall
pip uninstall jupyterlab-export-svg-as-png-extension
Metadata
Release files for jupyterlab-export-svg-as-png-extension 1.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyterlab_export_svg_as_png_extension-1.1.20.tar.gz | 694.4 kB | Without provenance | Details for jupyterlab_export_svg_as_png_extension-1.1.20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_export_svg_as_png_extension-1.1.20-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_export_svg_as_png_extension-1.1.20-py3-none-any.whl |
Total release size: 736.3 kB
Release files / jupyterlab_export_svg_as_png_extension-1.1.20.tar.gz
| Download URL | jupyterlab_export_svg_as_png_extension-1.1.20.tar.gz |
|---|---|
| Size | 694.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cba679ec49001ceb8ddc86111d985bd5b35b0fe32fc9356b35bae69e808f3e18
|
|
BLAKE2b-256 checksum How to use checksums |
f67040141907c55fe882ca8de9c84f9447a5bd54009607b3897c974313a0dac5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / jupyterlab_export_svg_as_png_extension-1.1.20-py3-none-any.whl
| Download URL | jupyterlab_export_svg_as_png_extension-1.1.20-py3-none-any.whl |
|---|---|
| Size | 41.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6822d20274866330d6bfd924d70a2b5e172786d3bf019b3fcec0b26cbb17d928
|
|
BLAKE2b-256 checksum How to use checksums |
1feb1199ac8a26a3c75cca5ff2fbbbf8f5c4980d1edbeda7313883ec35e9ad78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for jupyterlab-export-svg-as-png-extension 1.1.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.