Convert XPM to MD
Turn XPM images into Markdown. The text read by OCR as Markdown, one paragraph for each block of text the reader finds, in English unless language lists others.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XPM files on the dialor turn it to pick what to do
Text read from an XPM picture.Only the words in the image are kept, as Markdown text.
What you get
One MD file with the text that OCR reads from the XPM picture. XPM stores an image as C source, so the words are recognized from the picture itself.
What it leaves behind
Layout, tables and pictures are dropped. Only the text comes through.
If the picture has no readable text, the conversion stops with
unsupported_elements.Setting the language
Without Language, the text is read as English. Letters such as é, ß and ł come out wrong, and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read.
Set Language to the languages in the picture. Separate several with commas, such as fr,en.
XPM and MD.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 PixMap
X PixMap, images as C source.
- Extensions
- .xpm
- MIME type
- image
/x -xpixmap - Kind
- Images
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
In your code.The same XPM to MD conversion through the API, for your app or your agent.
$ cv convert photo.xpm photo.md$ cv convert photo.xpm photo.mdQuestions.What people ask about XPM to MD.
No. Layout, tables and pictures are dropped, and only the text is kept.
The picture has no readable text. The conversion stops with unsupported_elements in that case.
Set Language to the languages in the picture, such as fr,en. Without it, the text is read as English.
The conversion gives one file for the picture you convert. To join several MD files afterward, you can merge MD.