Convert NDPI to PNG

Turn NDPI images into PNG. An overview of the whole slide at most 4096 pixels on its longer side; a smaller slide keeps its own size.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An overview picture of a whole slide.One PNG, at most 4096 pixels on its longer side.

  1. What you get

    A single PNG 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 full-resolution pyramid inside an NDPI file is far too large for one picture, so the PNG is an overview and not the slide at full detail.

  2. Options

    Set Max width or Max height to make the PNG smaller than the overview. Each one shrinks only what is larger than the value you give and keeps the shape. Nothing is enlarged.

    Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  3. When it stops

    If the file cannot be parsed, the conversion stops with input_corrupted. No PNG is made in that case.

    For other PNG tasks, see resize PNG or compress PNG.

NDPI and PNG.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 · 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 · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

terminal
$ cv convert photo.ndpi photo.png
$ cv convert photo.ndpi photo.png

Questions.What people ask about NDPI to PNG.

01OF 04

No. It is an overview of the whole slide, at most 4096 pixels on its longer side. The full-resolution pyramid is too large for one picture.

No. A slide smaller than 4096 pixels keeps its own size. Max width and Max height also never enlarge anything.

The file could not be parsed. The conversion stops and no PNG is made.

Yes. Set Rotate to 90, 180 or 270 to turn the result clockwise by that amount.

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