openslide-write-png(1)

openslide-write-png1

Write a region of a virtual slide to a png

Usage

openslide-write-png [--help] [--version] slide-file x y level width height output-file

Overview

Write a region of the specified level of a virtual slide to a PNG image. x and y are pixel coordinates in level 0, the highest-resolution slide level. width and height are pixel dimensions in the specified level.

The dimensions of each level of a slide can be obtained with openslide-show-properties(1).

Options

--help

Display usage summary.

--version

Display version and copyright information.

Exit status

openslide-write-png returns 0 on success, 1 if an error occurred, or 2 if the arguments are invalid.

Notes

openslide-write-png is a legacy command and no new features will be added. Its replacement is the region read subcommand of slidetool(1).

Releases

8 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9–13
  4. Arch

--help since Debian 8 (Jessie); --version since Debian 8 (Jessie).

From openslide 4.0.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.