Convert NDPI to JPG

Turn NDPI images into JPEG. An overview of the whole slide at most 4096 pixels on its longer side; a smaller slide keeps its own size, at quality 90 unless asked otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop NDPI files on the dialor turn it to pick what to do

A slide overview as one JPG.A whole-slide NDPI becomes a single picture at quality 90.

  1. What you get

    One JPG that shows the whole slide. Its longer side is at most 4096 pixels. A slide that is smaller than that keeps its own size.

    The quality is 90 unless you change it. JPG compression is lossy, so some fine detail is not kept.

  2. What it leaves behind

    The full-resolution pyramid is not in the JPG. It is far too large for one picture, so the result is an overview and not a copy of every level in the NDPI file.

  3. Options

    Set Max width or Max height to make the picture smaller. Anything already below the limit stays as it is, so nothing is enlarged. For more on this, see resize JPG.

    Set Quality between 1 and 100. Above 90 the file grows quickly while the picture barely changes. Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result by 90, 180 or 270 degrees clockwise.

  4. When it fails

    If the file cannot be parsed, the conversion stops with input_corrupted.

NDPI and JPG.What each format is, and the options this conversion takes.

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  3. 03 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  5. 05 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · NDPI

Hamamatsu NDPI

Whole-slide microscopy images from Hamamatsu scanners.

Extensions
.ndpi
MIME type
image/x-ndpi
Kind
Images
To · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images

In your code.The same NDPI to JPG conversion through the API, for your app or your agent.

terminal
$ cv convert photo.ndpi photo.jpg
$ cv convert photo.ndpi photo.jpg

Questions.What people ask about NDPI to JPG.

01OF 04

No. It is an overview with a longer side of at most 4096 pixels. The full-resolution pyramid is too large for one picture.

Yes. Set Max width or Max height to a lower value. The shape of the slide is kept.

No. A slide smaller than 4096 pixels on its longer side keeps its own size.

The file could not be parsed, so the conversion stops. No JPG is made.

More conversions.Other ways in and out of NDPI and JPG.