SVS conversion

Convert SVS to TIFF or OME-TIFF (Whole-Slide)

An Aperio SVS file is already a TIFF: a tiled pyramid of the scan (full resolution plus smaller copies), usually JPEG-compressed, with label and macro photos alongside. Converting it usually means a pyramidal OME-TIFF that other software reads with its calibration, or a plain TIFF of a region for a figure. Do it with free QuPath, bfconvert, libvips or Leica’s ImageScope, in Python, or in SlideScope, a paid desktop viewer, without code.

Full-resolution OME-TIFF pyramidPixel size keptNo upload

Before you convert: the file size

Leica’s ImageScope guide gives a slide of 73,091 × 62,821 pixels whose raw data is 12.8 GB, stored in a 575 MB SVS file. SVS gets there with JPEG, which is lossy. Converting to a lossless TIFF (LZW or Deflate) cannot restore what JPEG discarded, and the result is far larger than the SVS; without compression it is the full raw size. A classic TIFF stops at 4 GB, so a larger output needs BigTIFF. Keep the pyramid so viewers can zoom without reading the whole file.

Ways to convert SVS to TIFF

ToolCostPlatformsNotes
QuPathFree, open sourceWindows, macOS, LinuxFile › Export images › OME-TIFF writes a pyramid; set compression and levels
bfconvert (Bio-Formats tools)Free, open sourceWindows, macOS, LinuxCommand line; -noflat keeps the pyramid
bioformats2raw + raw2ometiff (Glencoe Software)Free, open sourceWindows, macOS, LinuxTwo steps through Zarr; built for whole slides; JPEG, LZW or zlib
libvipsFree, open sourceWindows, macOS, LinuxTiled pyramidal TIFF (not OME-TIFF), JPEG or lossless
Aperio ImageScope (Leica)FreeWindows onlyExtract Region: TIF, JPG, JP2 or SVS of an area you draw
Python (OpenSlide, tifffile)Free, open sourceWindows, macOS, LinuxRegions and tiles as NumPy arrays or images
SlideScopePaid; exporting your own files needs a subscriptionWindows 10/11, macOS 14+Full-resolution lossless OME-TIFF pyramid with pixel size, no code, no upload

Convert SVS to OME-TIFF in QuPath (free)

  1. Open the .svs file in QuPath.
  2. Choose File › Export images… › OME-TIFF. QuPath writes an image pyramid and lets you set the compression and the number of pyramid levels.

For a picture rather than a pyramid, the “Original pixels” export can downsample the image to a size other programs open easily.

Convert SVS from the command line (free)

With the Bio-Formats tools (bftools.zip), list what the file holds, then convert:

showinf -nopix -noflat input.svs
bfconvert -noflat -bigtiff -compression LZW input.svs output.ome.tiff

-noflat keeps the SVS resolution levels as one pyramid; only OME-TIFF output supports it. bfconvert converts every series by default, which for an SVS can include the label and macro photos; -series limits it to one. Without -compression the output is uncompressed.

Glencoe Software’s two-step route goes through a Zarr pyramid and is designed for large slides:

bioformats2raw input.svs slide.zarr
raw2ometiff slide.zarr output.ome.tiff --rgb --compression JPEG

Glencoe recommends --rgb for brightfield whole slides. raw2ometiff’s default compression is lossless LZW; JPEG keeps the file far smaller, at the cost of exact pixels.

libvips reads SVS through OpenSlide (when built with it) and its tiffsave operation writes a tiled pyramidal TIFF: the tile and pyramid options build the pyramid, compression chooses JPEG, Deflate or LZW (Deflate and LZW are lossless), and bigtiff lifts the 4 GB limit. OpenSlide hands libvips an RGBA image by default, so recent libvips versions offer an rgb load option to drop the alpha channel. The result is a standard pyramidal TIFF rather than an OME-TIFF; the libvips docs note that subifd lays the pyramid out in a way closer to OME. See the libvips tiffsave and openslideload reference for the exact syntax of your version.

Save a region as TIFF in ImageScope (Windows)

  1. Open the slide in Aperio ImageScope, click the Extract Region tool on the toolbar and drag a rectangle over the area.
  2. In the Extract Image Region window, set Width and Height (as pixels or a percentage) to scale the output, and choose the format: TIF with LZW or no compression, JPG, JP2 (JPEG 2000) or SVS with JPEG 2000 or JPEG.
  3. For programs that cannot read tiled TIFF, set Tile Size to 0 for a stripped TIFF, then click Extract.

These steps are from Leica’s ImageScope User’s Guide. ImageScope is free and runs on Windows only; on a Mac see our ImageScope for Mac page.

Convert SVS in Python

OpenSlide reads any region at any level; Pillow saves it:

import openslide

slide = openslide.OpenSlide("input.svs")
region = slide.read_region((10000, 10000), 0, (4000, 4000)).convert("RGB")
region.save("region.tif")

This writes a plain TIFF of one full-resolution region, with no calibration. For levels, tiles, NumPy arrays with tifffile and microns per pixel, see reading SVS files in Python. For a whole-slide pyramid from Python, pyvips, the Python binding of libvips, runs the same TIFF writer as above.

Convert SVS to OME-TIFF in SlideScope (no code)

  1. Open the .svs file in SlideScope on Windows or Mac.
  2. Choose File › Export Current Image as TIFF… (Ctrl+Shift+C; Cmd+Shift+C on a Mac). SlideScope writes the whole slide at its scanned resolution, read region by region so memory stays bounded, as a tiled, lossless OME-TIFF with a pyramid of reduced levels so whole-slide viewers can zoom it. It switches to BigTIFF when the data is large and keeps the pixel size. Before it starts, it shows the uncompressed size; lossless output is larger than the JPEG-compressed SVS.
  3. For many slides, choose File › Open Folder, select the files, run “Export the selected files…”, and choose “Full resolution: every scanned pixel” or “Overview: the viewer’s reduced image” for a small, fast copy.
  4. For a figure, File › Export Current View as Image… saves what is on screen, overlays included, as PNG, TIFF or JPEG.

Exporting your own files needs a subscription; the built-in samples export free. The conversion runs on your own computer; nothing is uploaded. Opening the slide is covered in how to open SVS files.

SVS conversion questions

Can I convert SVS to TIFF for free?

Yes. QuPath exports a pyramidal OME-TIFF, bfconvert and the bioformats2raw and raw2ometiff pair convert from a terminal, and libvips writes a tiled pyramidal TIFF, all free on Windows, macOS and Linux. On Windows, Leica’s free ImageScope saves a region you draw as TIFF, JPEG, JPEG 2000 or SVS.

Why is my converted file so much bigger than the SVS?

SVS files are usually JPEG-compressed. Leica’s ImageScope guide gives a slide of 73,091 × 62,821 pixels whose raw data is 12.8 GB, stored in a 575 MB SVS file. Lossless compression such as LZW or Deflate keeps every pixel of the decoded image but cannot match JPEG’s size, and an uncompressed copy is the full raw size.

How do I convert SVS to OME-TIFF?

In QuPath, open the slide and choose File › Export images… › OME-TIFF. From a terminal, run bfconvert -noflat with an .ome.tiff output name, or bioformats2raw followed by raw2ometiff, which Glencoe Software recommends running with --rgb for brightfield whole slides.

Is SlideScope free?

SlideScope is a paid app with a free sample library (every tool); your own images need a subscription from $35/month.

Explore the built-in sample library free, with every tool. Opening your own images needs a subscription: $35/month, billed when you subscribe (PayPal or card), and you can cancel anytime from your account. Annual billing is available at $349.99/year, which works out to about two months free.

Convert without uploading

Try it free on the built-in samples, then open your own SVS slides and export a full-resolution OME-TIFF with a subscription. Already decided? Subscribe now.

Download SlideScope