Skip to main content

jupyterlab_export_svg_as_png_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

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.

Context menu on an SVG inside a markdown file

Context menu on an SVG file opened directly in the image viewer

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.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-export-svg-as-png-extension 1.1.24
File Size Uploaded Provenance Actions
jupyterlab_export_svg_as_png_extension-1.1.24.tar.gz 693.9 kB Without provenance Details for jupyterlab_export_svg_as_png_extension-1.1.24.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-export-svg-as-png-extension 1.1.24
File Interpreter ABI Platform Actions
jupyterlab_export_svg_as_png_extension-1.1.24-py3-none-any.whl Python 3 none any Details for jupyterlab_export_svg_as_png_extension-1.1.24-py3-none-any.whl

Total release size: 735.8 kB

Release files / jupyterlab_export_svg_as_png_extension-1.1.24.tar.gz

Download URL jupyterlab_export_svg_as_png_extension-1.1.24.tar.gz
Size 693.9 kB
Tags Source
SHA-256 checksum
How to use checksums
39cd3b34c773290a03831baa5a92c35352cdf445e3bdbf0e8afe622cc580b431
BLAKE2b-256 checksum
How to use checksums
7ba34cbd76b5d4f3ca676af3bf466e6987f3105b20b2ca493423afec41b801c2
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.24-py3-none-any.whl

Download URL jupyterlab_export_svg_as_png_extension-1.1.24-py3-none-any.whl
Size 41.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
625146d2b1df2a8dd7a3ea7450f6f2c2794682c118dae492aa24e04d3bffaacb
BLAKE2b-256 checksum
How to use checksums
35ca4a14c2f7870063694c266af9f49760cc0a32758065c3d1d0f53c141d2fb8
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.24

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page