Convert NDPI to GIF
Turn NDPI images into GIF. An overview of the whole slide at most 4096 pixels on its longer side, reduced to a palette of 256 colors with dithering, so it looks grainy; 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 grainy overview of a whole slide.One GIF shows the entire slide, at most 4096 pixels on its longer side.
What you get
A single GIF with an overview of the whole slide. If the slide is larger than 4096 pixels on its longer side, it is reduced to fit. A smaller slide keeps its own size.
The full-resolution pyramid in an NDPI file is far too large to fit in one picture, so the GIF shows the overview and not the detail.
What changes
GIF allows 256 colors per frame. The picture is reduced to a palette of 256 colors with dithering, so it looks grainy. The colors are not the same as in the slide.
Options
Set Max width or Max height to make the GIF smaller than the overview. Slides that are already narrower or shorter stay as they are, and 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.
To shrink a GIF you already have, use resize GIF.
NDPI and GIF.What each format is, and the options this conversion takes.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 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 - 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 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
Hamamatsu NDPI
Whole-slide microscopy images from Hamamatsu scanners.
- Extensions
- .ndpi
- MIME type
- image
/x -ndpi - Kind
- Images
GIF
Indexed-color images with simple animation. Limited to 256 colors per frame.
- Extensions
- .gif
- MIME type
- image
/gif - Kind
- Images
In your code.The same NDPI to GIF conversion through the API, for your app or your agent.
$ cv convert photo.ndpi photo.gif$ cv convert photo.ndpi photo.gifQuestions.What people ask about NDPI to GIF.
No. The full-resolution pyramid is far too large for one picture. The GIF is an overview of at most 4096 pixels on its longer side.
GIF holds 256 colors per frame, so the picture is reduced to a palette of 256 colors with dithering. The dithering gives the grainy look.
No. A smaller slide keeps its own size. Max width and Max height only shrink a picture.
One file. The whole slide becomes a single GIF.