openslide-write-png man page

openslide-write-png — Write a region of a virtual slide to a PNG


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


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



Display usage summary.


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.

See Also

openslide-quickhash1sum(1), openslide-show-properties(1)

Referenced By

openslide-quickhash1sum(1), openslide-show-properties(1).

2012-02-24 OpenSlide 3.4.1 User Commands