macOS
brew install openslidelocal Homebrew formula metadata
sudo port install openslideMacPorts ports tree · graphics/openslide/Portfile · source: api.github.com
brew
C library to read whole-slide images (a.k.a. virtual slides). Version 4.0.1 via Homebrew; verified 2026-06-08.
install
brew install openslidelocal Homebrew formula metadata
sudo port install openslideMacPorts ports tree · graphics/openslide/Portfile · source: api.github.com
sudo apt install libopenslide-devDebian stable package indexes · libopenslide-dev · source: deb.debian.org
sudo dnf install openslideFedora Rawhide package metadata · openslide · source: dl.fedoraproject.org
nix profile install nixpkgs#openslidenixpkgs package indexes · pkgs/by-name/op/openslide/package.nix · source: api.github.com
sudo pacman -S openslideArch Linux sync databases · openslide · source: geo.mirror.pkgbuild.com
sudo zypper install libopenslide-developenSUSE Tumbleweed package metadata · libopenslide-devel · source: download.opensuse.org
overview
C library to read whole-slide images (a.k.a. virtual slides)
history
OpenSlide is an LGPL C library and small CLI toolkit for reading whole-slide images, also called virtual slides. It abstracts scanner/vendor file formats into a simple tiled image API for digital pathology, computational pathology, and microscopy workflows.
The OpenSlide GitHub repository was created in August 2010. A 2013 Journal of Pathology Informatics paper presented OpenSlide as a vendor-neutral C library for reading and manipulating digital slides from diverse vendor formats, motivated by the lack of a universal widespread format for whole-slide images.
The project grew into a small ecosystem with official Python and Java bindings. The website describes the C library, bindings, command-line tools, supported vendor formats, and LGPL-2.1 licensing, while the Python documentation explains why ordinary image libraries struggle with slides that can expand to tens of gigabytes.
OpenSlide became a common interoperability layer for open source digital pathology software because it hides vendor-specific storage details behind one API. Its support matrix includes Aperio, DICOM, Hamamatsu, Leica, MIRAX, Philips, Sakura, Ventana, Zeiss, generic tiled TIFF, and other formats documented by the project.
The library is packaged widely across Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, and other distributions. That distribution breadth matters for scientific workflows, where Python packages, notebooks, image pipelines, and lab workstations often need the same native C library available underneath language bindings.
Applications use OpenSlide to query slide dimensions and metadata, choose pyramid levels, read rectangular regions, generate thumbnails or Deep Zoom tiles, and avoid loading an entire slide into memory. The command-line tools expose common inspection and conversion tasks such as showing slide properties, writing PNG regions, and calculating quickhash values.
The API is intentionally narrow: it opens a slide, exposes properties and level information, and reads image regions. That simplicity is what lets higher-level packages in Python, Java, MATLAB integrations, and web viewers build digital pathology workflows over proprietary vendor data.
OpenSlide is package-significant because it is a native library that many language packages quietly depend on. The Homebrew formula is not just an executable install; it supplies the C ABI that Python wheels, scientific applications, and downstream pathology tools expect to find.
It also illustrates why packaging scientific file-format libraries is hard: the value is not a flashy CLI but stable decoding of many large, vendor-specific, tiled image formats across operating systems.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
openslide-quickhash1sum | cli | global executable | |
openslide-show-properties | cli | global executable | |
openslide-write-png | cli | global executable | |
slidetool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/openslide/openslide
install metadata
| Package key | brew:openslide |
|---|---|
| Version | 4.0.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/openslide |
| Homepage | https://openslide.org/ |
| Repository | https://github.com/openslide/openslide |
| Upstream docs | https://openslide.org/docs |
| License | LGPL-2.1-only |
| Source archive | https://github.com/openslide/openslide/releases/download/v4.0.1/openslide-4.0.1.tar.xz |
| Last updated | 2026-06-08T11:02:48Z |
| Pulse | updated |
| Dependencies | cairo, gettext, glib, jpeg-turbo, libdicom, libpng, libtiff, libxml2, openjpeg, sqlite, zstd |
| Build dependencies | meson, ninja, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | openslide |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libopenslide-dev 3.4.1+dfsg-7+b2
Development files for the OpenSlide library
sudo apt install libopenslide-devlibopenslide0 3.4.1+dfsg-7+b2
library for reading whole slide image files
sudo apt install libopenslide0openslide-tools 3.4.1+dfsg-7+b2
Manipulation and conversion tools for OpenSlide
sudo apt install openslide-toolsopenslide
nix profile install nixpkgs#openslidelibopenslide-dev 3.4.1+dfsg-7build2
Development files for the OpenSlide library
sudo apt install libopenslide-devlibopenslide0 3.4.1+dfsg-7build2
library for reading whole slide image files
sudo apt install libopenslide0openslide-tools 3.4.1+dfsg-7build2
Manipulation and conversion tools for OpenSlide
sudo apt install openslide-toolsopenslide 4.0.1-1.fc45
C library for reading virtual slides
sudo dnf install openslideopenslide-devel 4.0.1-1.fc45
Development files for openslide
sudo dnf install openslide-developenslide-tools 4.0.1-1.fc45
Command line tools for openslide
sudo dnf install openslide-toolsopenslide 4.0.1-1
C library for reading virtual slide images
sudo pacman -S openslidelibopenslide-devel 3.4.1-2.31
Development files for openslide
sudo zypper install libopenslide-devellibopenslide0 3.4.1-2.31
C library for reading virtual slides
sudo zypper install libopenslide0openslide-doc 3.4.1-2.31
Documentation for openslide
sudo zypper install openslide-docopenslide-tools 3.4.1-2.31
Command line tools for openslide
sudo zypper install openslide-toolsopenslide
sudo port install openslidesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.