Metadata-Version: 2.3
Name: ng-slice-download
Version: 0.1.0
Summary: Download slices from a neuroglancer view
Requires-Dist: click>=8.3.1
Requires-Dist: inquirer>=3.4.1
Requires-Dist: neuroglancer>=2.41.2
Requires-Dist: numpy>=2.4.1
Requires-Dist: scipy>=1.17.0
Requires-Dist: tensorstore>=0.1.80
Requires-Dist: tifffile>=2026.1.14
Requires-Dist: tqdm>=4.67.1
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# ng-slice-download

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

## Usage

1. [Install uv](https://docs.astral.sh/uv/getting-started/installation/)
2. Open an OME-Zarr 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:

```shell
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
```shell
Usage: ng-slice-download [OPTIONS] NEUROGLANCER_URL

Options:
  --output_dir PATH  Directory to download image files to.
  --help             Show this message and exit.
```
