Convert ndpi to jpg

Free online NDPI to JPG converter

Convert Hamamatsu NDPI whole-slide images to JPG previews or selected regions.

Convert NDPI to JPG online - free

Uploading…
Selected files exceed the 180 MB total limit. Please select fewer or smaller files.

Your file is processed instantly and never stored on our servers.

How it works

  1. 1/3

    Upload your .ndpi file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .ndpi to .jpg conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .jpg file

    Conversion result is ready to download.

How to convert ndpi to jpg file

101convert.com Assistant Avatar

101convert.com assistant bot
48s

NDPI files are whole-slide microscopy images, while JPG is accepted by ordinary image viewers, web pages, office software, and many editing applications. Conversion is usually needed to share a slide as a compact preview or export a selected tissue region instead of distributing the original scanner file.

What the NDPI format is

NDPI is a proprietary whole-slide image format created mainly by Hamamatsu NanoZoomer scanners. It can contain extremely large, multiresolution microscope images used in digital pathology, research, and slide archiving.

You may encounter NDPI files in Hamamatsu NDP.view2 software, QuPath, Fiji/ImageJ with Bio-Formats, and applications built on the OpenSlide library. An NDPI file can be many gigabytes and may include several resolution levels, so it is not equivalent to an ordinary single-layer photograph.

What the JPG format is

JPG, also called JPEG, is a widely supported raster image format using lossy compression. It is suitable for slide previews, reports, presentations, websites, email attachments, and general image editing.

JPG files are normally much smaller than NDPI files and open without specialist microscopy software. The format does not preserve the NDPI pyramid, scanner-specific metadata, annotations, multiple focal planes, or diagnostic image data.

How to actually convert NDPI to JPG

Use the online converter

You can convert the file on 101convert.com for free without installing software. Upload the .ndpi file, choose JPG as the output format, start the conversion, and download the resulting image. For very large slides, use a desktop method or export a smaller region because a full-resolution JPG may exceed memory or file-size limits.

Export a slide preview with OpenSlide and Python

OpenSlide is designed to read whole-slide formats, including many NDPI files. Install the OpenSlide system library for your operating system, then install the Python bindings and Pillow:

pip install openslide-python pillow

Save this as ndpi_to_jpg.py and replace the input filename:

import openslide

slide = openslide.OpenSlide("sample.ndpi")
image = slide.get_thumbnail((6000, 6000)).convert("RGB")
image.save("sample.jpg", "JPEG", quality=90, optimize=True)

Run it with:

python ndpi_to_jpg.py

get_thumbnail() creates a complete-slide preview constrained to 6000 by 6000 pixels. Increase those dimensions for more detail, but check available memory before exporting very large images.

Export a selected high-resolution region

For a tissue area that must retain more detail, read a region at a chosen pyramid level instead of converting the entire slide:

import openslide

slide = openslide.OpenSlide("sample.ndpi")
region = slide.read_region((10000, 15000), 0, (4000, 3000)).convert("RGB")
region.save("region.jpg", "JPEG", quality=95)

The coordinates are measured from the top-left corner at level 0, usually the highest available resolution. Change the location and dimensions to match the required tissue area. Level 0 coordinates and available levels can be inspected with slide.level_dimensions.

Use QuPath or Fiji

QuPath can open supported NDPI files through OpenSlide. Open the slide, select the required view or region, and use File → Export images to export a JPG. In Fiji/ImageJ, open the file through File → Open Samples or the Bio-Formats importer, then use File → Save As → JPEG. Menu names can vary by application version and installed plugins.

Quality, compatibility, and limitations

JPG export is lossy. Use a quality value around 90–95 for general use and avoid repeatedly opening and resaving the same JPG. PNG or TIFF is preferable when pixel-level analysis, annotations, or lossless preservation is required.

A full-slide JPG may still be too large for some viewers even after compression. Exporting a thumbnail or region is generally more compatible than flattening the entire slide into one maximum-resolution image.

Do not use a JPG as the archival or diagnostic replacement for the NDPI source. It discards the multiresolution structure and may introduce compression artifacts that affect fine cellular detail. Keep the original NDPI and treat the JPG as a presentation or sharing copy.


Note: This ndpi to jpg conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

Frequently asked questions

Is the NDPI to JPG converter free?

Yes, converting NDPI to JPG on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my NDPI file be?

You can upload NDPI files up to 300 MB and convert up to 3 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert NDPI to JPG?

No. The NDPI to JPG conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid NDPI file for this NDPI to JPG conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Additional formats for
ndpi file conversion

Convert to jpg from
other formats

Share on social media: