Skip to the content.

Slidescape

Slidescape is a whole-slide image viewer for digital pathology.

How to build

Windows

You can build the program using CMake and the MinGW-w64 toolchain.

You may wish to install nasm so that the SIMD-optimized assembly code in libjpeg-turbo can be compiled.

All library code is included with the source code distribution (there are no other external dependencies).

Linux / macOS

Make sure the build tools cmake and (optionally) nasm are installed.

The following libraries are required: SDL2 (on Linux and macOS), GLEW (Linux only).

mkdir build && cd build
cmake ..
cd ..
cmake --build build --target slidescape -- -j
./slidescape

Supported image formats

The viewer has built-in support for:

Slidescape can also detect and load the OpenSlide library at runtime. If OpenSlide is present, the Aperio, Hamamatsu, Leica, MIRAX, Sakura, Trestle, and Ventana formats can additionally be loaded.

To enable OpenSlide support on Windows, download (or compile) the 64-bit binaries and put all of the DLL files together in an openslide/ folder, and put that folder in the same location as slidescape.exe.

To enable OpenSlide support on Linux, install the openslide library, either using a package manager or by building and installing it manually. The program will try to locate libopenslide.so, either in the default system library paths or in /usr/local/lib/.

To enable OpenSlide support on macOS, install the openslide library using Homebrew or MacPorts. The program will try to locate libopenslide.dylib in the default install path: either /usr/local/opt/openslide/lib/ for Homebrew, or /opt/local/lib/ for MacPorts.

Credits

Slidescape embeds code from the following projects, under their respective licenses:

Uses SDL2 and GLEW on Linux/macOS.

The application icon was made by Freepik from Flaticon.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

See LICENSE.txt for more information.