Convert NDPI to XPM

Turn NDPI images into XPM. An overview of the whole slide is read, 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

A slide image as C source text.An NDPI slide becomes one XPM file with a color palette and transparency.

  1. What you get

    One XPM file, which is an X11 pixmap written as C source text. The picture is stored as a color palette plus the pixels that refer to it. Transparency is part of the format.

  2. What it leaves behind

    An NDPI file holds a full-resolution pyramid of the slide. That is far too large to fit in one picture, so the XPM cannot hold the slide at full resolution.

    The output is a single file, so you get one picture of the slide, not the whole pyramid.

NDPI and XPM.What each format is.

The formats

From · NDPI

Hamamatsu NDPI

Whole-slide microscopy images from Hamamatsu scanners.

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

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
Kind
Images

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

terminal
$ cv convert photo.ndpi photo.xpm
$ cv convert photo.ndpi photo.xpm

Questions.What people ask about NDPI to XPM.

01OF 04

XPM is X PixMap, an image format stored as C source. It uses a color palette and supports transparency.

No. The full-resolution pyramid is far too large for one picture.

One. The conversion writes a single XPM file.

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