Convert NDPI to AVIF

Turn NDPI images into AVIF. An overview of the whole slide at most 4096 pixels on its longer side, lossy at quality 60 unless asked otherwise; 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

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

  1. What you get

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

    The compression is lossy, at quality 60 unless you ask for something else. Some detail is lost.

  2. What it leaves out

    The full-resolution pyramid of an NDPI file is far too large for one picture, so it is not carried over. The AVIF is an overview, not a copy of every level of the scan.

  3. Size, quality and turning

    Set Max width (px) or Max height (px) to shrink the picture further. Each one shrinks only what is larger than the value and keeps the shape. Nothing is enlarged.

    Set Quality to a value from 1 to 100. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

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

  1. 01 · 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
  2. 02 · 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
  3. 03 · 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 60
  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 · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

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

terminal
$ cv convert photo.ndpi photo.avif
$ cv convert photo.ndpi photo.avif

Questions.What people ask about NDPI to AVIF.

01OF 04

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

Yes. It uses lossy compression at quality 60 unless you set Quality to another value. Some detail is lost.

No. A smaller slide keeps its own size, and the size options never enlarge a picture.

One file. It covers the whole slide. See every NDPI conversion for other formats you can convert to.

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