1
2
3
4
5OPENSLIDE-WRITE-PNG(1) User Commands OPENSLIDE-WRITE-PNG(1)
6
7
8
10 openslide-write-png - Write a region of a virtual slide to a PNG
11
12
14 openslide-write-png [--help] [--version] slide-file x y level width
15 height output-file
16
17
19 Write a region of the specified level of a virtual slide to a PNG
20 image. x and y are pixel coordinates in level 0, the highest-resolu‐
21 tion slide level. width and height are pixel dimensions in the speci‐
22 fied level.
23
24 The dimensions of each level of a slide can be obtained with openslide-
25 show-properties(1).
26
27
29 --help Display usage summary.
30
31
32 --version
33 Display version and copyright information.
34
35
37 openslide-write-png returns 0 on success, 1 if an error occurred, or 2
38 if the arguments are invalid.
39
40
42 Copyright © 2007-2012 Carnegie Mellon University and others
43
44 OpenSlide is free software: you can redistribute it and/or modify it
45 under the terms of the GNU Lesser General Public License, version 2.1
46 ⟨http://gnu.org/licenses/lgpl-2.1.html⟩.
47
48 OpenSlide comes with NO WARRANTY, to the extent permitted by law. See
49 the GNU Lesser General Public License for more details.
50
51
53 openslide-quickhash1sum(1), openslide-show-properties(1)
54
55
56
57OpenSlide 3.4.1 2012-02-24 OPENSLIDE-WRITE-PNG(1)