Convert PNG to ALTO
Turn PNG images into ALTO. The text read by OCR as ALTO XML, the format libraries use for digitized pages, with the box of every block, line and word and how sure the reader is of each word, in English unless language lists others.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PNG files on the dialor turn it to pick what to do
Text and word positions from a PNG.An ALTO XML file with the words read from the image and where each sits on the page.
What you get
One ALTO file, the XML that libraries and newspaper archives use for OCR output. It holds the text found in the PNG, with the position and confidence of every word on the page.
The PNG is read with OCR, so the picture becomes text you can search and index. Each word keeps its place on the page.
Setting the language
Set Language to the languages the text is in, so OCR knows which letters to expect. Without it the text is read as English. Letters such as é, ß and ł then come out wrong, and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read.
Separate several languages with commas, such as fr,en.
PNG and ALTO.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
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
ALTO XML
OCR output in the XML that libraries and newspaper archives use, with the position and confidence of every word on the page.
- Extensions
- .alto.xml
- MIME type
- application
/x -alto +xml - Kind
- Text and data
In your code.The same PNG to ALTO conversion through the API, for your app or your agent.
$ cv convert photo.png photo.alto.xml$ cv convert photo.png photo.alto.xmlQuestions.What people ask about PNG to ALTO.
It is OCR output in the XML that libraries and newspaper archives use. It records the position and confidence of every word on the page.
Yes, if you set Language to the languages in the image. Without it the text is read as English, and scripts such as Cyrillic, Arabic, Thai, Korean or Chinese are not read.
Without Language, the text is read as English. Letters such as é, ß and ł come out wrong until you set Language to the right languages, such as fr,en.
You get one file.