Skip to main content

ng-slice-download

A simple command line utility to download the current neuroglancer view to a local TIFF file.

Usage

  1. Install uv
  2. Open an OME-Zarr or N5 image in neuroglancer, and navigate to the 2D view that you want to download. Important: the view to be downloaded is in the upper left panel.
  3. Copy the full neuroglancer link from the browser
  4. Run:
uvx ng-slice-download '[full neuroglancer link]'

replacing [full neuroglancer link] with your neuroglancer link. It's important to surround the neuroglancer link in quotes because it will probably contain special characters.

Command documentation

% ng-slice-download --help
Usage: ng-slice-download [OPTIONS] NEUROGLANCER_URL

Options:
  --output-dir PATH    Directory to download image files to.
  --skip-lowres-check  Skip the low resolution check.
  --help               Show this message and exit.

Changelog

0.2

  • Ask before overwriting output TIFF files (.zarr files are still overwritten without asking)
  • Saved images use the Neuroglancer layer name in the filename
  • Added support for N5 images.
  • Renamed the --output_dir flag to --output-dir.
  • Add --skip-lowres-check option to skip the initial low resolution check that the orientation is correct.
  • Add a more helpful error message if selected layer is not an image layer.
  • Allow layers with a transform, but without a transformation matrix.

0.1.1

First release

Metadata

Release files for ng-slice-download 0.2

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

Source distribution (sdist)

Source distribution for ng-slice-download 0.2
File Size Uploaded
ng_slice_download-0.2.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ng-slice-download 0.2
File Interpreter ABI Platform
ng_slice_download-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / ng_slice_download-0.2.tar.gz

Download URL ng_slice_download-0.2.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
86a7ffb29ab41261c5b14dc0537a1937519c4dac28f8cd294d71d495f8f4466a
BLAKE2b-256 checksum
How to use checksums
5fc9a00b46bdd42f580db28795a496431b2c6712c532830a0b97ec46089eaf61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 26, 2026.

Transparency log

Release files / ng_slice_download-0.2-py3-none-any.whl

Download URL ng_slice_download-0.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a23a05a260eec7feecccfd57beababe0fb09a101fc1ad9b08b06bbb34b365ed
BLAKE2b-256 checksum
How to use checksums
0c13adbc3e89347184fb9e13643a50a2df7e8b00a0d7cbc83877f23273280dcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1.0

2 release files

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