OpenSlide is a C library for reading whole slide image files (also known as virtual slides). It provides a consistent and simple API for reading files from multiple vendors.
OpenSlide can read brightfield whole slide images in several formats:
- Aperio (
- Hamamatsu (
- Leica (
- MIRAX (
- Philips (
- Sakura (
- Trestle (
- Ventana (
- Generic tiled TIFF (
OpenSlide can also provide access to textual metadata, as well as associated images such as a slide label and thumbnail.
OpenSlide is released under the terms of the GNU Lesser General Public License, version 2.1.
OpenSlide is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
To build OpenSlide, you will need:
- libtiff ≥ 4.0
- OpenJPEG ≥ 2.1
- SQLite ≥ 3.6.20
- cairo ≥ 1.2
- glib ≥ 2.56
Then follow the usual build instructions:
./configure make make install
If building from the Git repository, you will first need to install
Autoconf, Automake, libtool, and pkg-config, and run
OpenSlide has been developed by Carnegie Mellon University and other contributors.
OpenSlide has been supported by the National Institutes of Health and the Clinical and Translational Science Institute at the University of Pittsburgh.