Download slices from a neuroglancer view
Project description
ng-slice-download
A simple command line utility to download the current neuroglancer view to a local TIFF file.
Usage
- Install uv
- 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.
- Copy the full neuroglancer link from the browser
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ng_slice_download-0.2.tar.gz.
File metadata
- Download URL: ng_slice_download-0.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86a7ffb29ab41261c5b14dc0537a1937519c4dac28f8cd294d71d495f8f4466a
|
|
| MD5 |
d505555fbaab9fbbac97815c345df055
|
|
| BLAKE2b-256 |
5fc9a00b46bdd42f580db28795a496431b2c6712c532830a0b97ec46089eaf61
|
Provenance
The following attestation bundles were made for ng_slice_download-0.2.tar.gz:
Publisher:
publish.yml on HiPCTProject/ng-slice-download
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ng_slice_download-0.2.tar.gz -
Subject digest:
86a7ffb29ab41261c5b14dc0537a1937519c4dac28f8cd294d71d495f8f4466a - Sigstore transparency entry: 855192800
- Sigstore integration time:
-
Permalink:
HiPCTProject/ng-slice-download@91b41bf1373e346c9a38c3c34d99f22009c0edb7 -
Branch / Tag:
refs/tags/0.2 - Owner: https://github.com/HiPCTProject
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@91b41bf1373e346c9a38c3c34d99f22009c0edb7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ng_slice_download-0.2-py3-none-any.whl.
File metadata
- Download URL: ng_slice_download-0.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a23a05a260eec7feecccfd57beababe0fb09a101fc1ad9b08b06bbb34b365ed
|
|
| MD5 |
b29b3ed4f85ac437980ec8390050a569
|
|
| BLAKE2b-256 |
0c13adbc3e89347184fb9e13643a50a2df7e8b00a0d7cbc83877f23273280dcb
|
Provenance
The following attestation bundles were made for ng_slice_download-0.2-py3-none-any.whl:
Publisher:
publish.yml on HiPCTProject/ng-slice-download
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ng_slice_download-0.2-py3-none-any.whl -
Subject digest:
9a23a05a260eec7feecccfd57beababe0fb09a101fc1ad9b08b06bbb34b365ed - Sigstore transparency entry: 855192808
- Sigstore integration time:
-
Permalink:
HiPCTProject/ng-slice-download@91b41bf1373e346c9a38c3c34d99f22009c0edb7 -
Branch / Tag:
refs/tags/0.2 - Owner: https://github.com/HiPCTProject
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@91b41bf1373e346c9a38c3c34d99f22009c0edb7 -
Trigger Event:
push
-
Statement type: