Convert NDPI to WEBP

Turn NDPI images into WEBP. An overview of the whole slide at most 4096 pixels on its longer side, lossy at quality 90 unless lossless is set; 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

A single WebP overview of a whole slide.The picture shows the full slide, scaled to fit within 4096 pixels on its longer side.

  1. What you get

    One WebP file that shows the whole slide. The longer side is at most 4096 pixels, and the shape of the slide is kept. A slide that is already smaller keeps its own size.

    By default the WebP is lossy at Quality 90. Turn on Lossless to encode without losing anything where the format can. The result is then identical to the input in pixels, and much bigger than a lossy one.

  2. What it leaves behind

    The full-resolution pyramid in an NDPI file is far too large for one picture, so it is not in the output. You get an overview, not the detail you would see when zooming in on the scanner's own images.

  3. Options

    Set Max width or Set Max height to make the overview smaller than 4096 pixels. Anything already smaller stays as it is, so nothing is enlarged.

    Quality sets 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.

    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.

    To shrink the result afterwards, see compress WEBP.

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

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  3. 03 · 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
  4. 04 · 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
  5. 05 · 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
  6. 06 · 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 · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

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

terminal
$ cv convert photo.ndpi photo.webp
$ cv convert photo.ndpi photo.webp

Questions.What people ask about NDPI to WEBP.

01OF 04

Yes, as an overview. The full-resolution pyramid is left out because it is far too large for one picture.

The longer side is at most 4096 pixels. A smaller slide keeps its own size.

Yes. Turn on Lossless, and the result is identical to the input in pixels. It is much bigger than a lossy one.

Yes. Set Max width or Set Max height, and the picture shrinks while keeping its shape. To resize an existing file, see resize WEBP.

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