Convert NDPI to TXT
Turn NDPI images into TXT. 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
Text read from a slide image.Only the words are kept. Layout, tables and pictures are dropped.
What you get
A TXT file with the text found in the NDPI slide. It is one file, plain text with no formatting.
Only the words are kept. Layout, tables and pictures are dropped.
When it fails
A slide with no readable text has nothing to write, so the conversion stops with
unsupported_elements. The full-resolution pyramid is far too large for one picture, so it is not read as a single image.Naming the language
Set Language to the languages the text is in, so OCR knows which letters to expect. This matters most for Korean, Japanese and Chinese. Separate several languages with commas, such as en,ko.
NDPI and TXT.What each format is, and the options this conversion takes.
- 01 · language
Language
The languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read. Separate several with commas, such as fr,en.
The formats
Hamamatsu NDPI
Whole-slide microscopy images from Hamamatsu scanners.
- Extensions
- .ndpi
- MIME type
- image
/x -ndpi - Kind
- Images
Plain Text
Plain text with no formatting at all. The smallest, most portable form of a document.
- Extensions
- .txt .log
- MIME type
- text
/plain - Kind
- Text and data
In your code.The same NDPI to TXT conversion through the API, for your app or your agent.
$ cv convert photo.ndpi photo.txt$ cv convert photo.ndpi photo.txtQuestions.What people ask about NDPI to TXT.
No. Layout, tables and pictures are dropped. Only the text is kept.
The slide holds a picture with no readable text. There are no words to write, so the conversion stops.
Yes. Set Language to several languages separated by commas, such as en,ko.
See every NDPI conversion for this format, or every TXT conversion for the text side.