Convert XBM to TXT
Turn XBM images into TXT. The text read by OCR as plain lines, in English unless language lists others.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XBM files on the dialor turn it to pick what to do
Text read from a bitmap picture.OCR reads the words in an XBM image and returns them as plain text.
What you get
One TXT file with the text found in the image. Plain text has no formatting, so you get the words and nothing else.
What it leaves behind
Layout, tables and pictures are dropped. Only the readable text is kept.
A picture with no readable text fails with
unsupported_elements. This happens when the image holds no words to read.Naming the language
Set Language to tell OCR which letters to expect. Naming the right language matters most for Korean, Japanese and Chinese. To name several, separate them with commas, such as en,ko.
XBM 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
X BitMap
X BitMap, monochrome images as C source.
- Extensions
- .xbm
- MIME type
- image
/x -xbitmap - 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 XBM to TXT conversion through the API, for your app or your agent.
$ cv convert photo.xbm photo.txt$ cv convert photo.xbm photo.txtQuestions.What people ask about XBM to TXT.
You get one TXT file with the text read from the image. It has no formatting.
No. Layout, tables and pictures are dropped. Only the text stays.
The picture has no readable text. The conversion stops with unsupported_elements when there are no words to read.
It matters most for Korean, Japanese and Chinese. Set Language to the right one, or to several separated by commas, such as en,ko.