Convert XPM to DOCX
Turn XPM images into DOCX. The text read by OCR as an editable Word document, 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 from an XPM picture, in a Word file.The text in the picture is read and put into a DOCX file. Layout, tables and pictures are dropped.
What you get
One DOCX file with the text that OCR reads in the XPM picture. The picture is an image stored as C source, so the words in it are recognized before they go into the document.
Layout, tables and pictures are not carried over. Only the text is kept.
When it fails
A picture with no readable text stops with
unsupported_elements.Setting the language
Set Language to the languages the text is in, so OCR knows which letters to expect. Separate several with commas, such as fr,en.
Without it 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.
XPM and DOCX.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
Word Document
Word's default document format since 2007. A zip of XML parts with the text, styles, images and tracked changes.
- Extensions
- .docx
- MIME type
- application
/vnd .openxmlformats -officedocument .wordprocessingml .document - Kind
- Documents
In your code.The same XPM to DOCX conversion through the API, for your app or your agent.
$ cv convert photo.xpm photo.docx$ cv convert photo.xpm photo.docxQuestions.What people ask about XPM to DOCX.
No. Layout, tables and pictures are dropped. 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.
Set Language first. Without it the text is read as English, so letters such as é, ß and ł come out wrong.