Convert KRA to ALTO

Turn KRA images into ALTO. The flattened picture Krita saves inside the file is read; layers are not read one by one.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop KRA files on the dialor turn it to pick what to do

Text read from a Krita painting.The words in the image are recognized and written with their positions.

  1. What you get

    One ALTO XML file. It is the OCR output that libraries and newspaper archives use, with the position and confidence of every word on the page.

    The words come from the picture in your KRA file, which is Krita's layered painting format. The text is recognized by OCR, so it is read from the image and not copied from anywhere.

  2. 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.

KRA and ALTO.What each format is, and the options this conversion takes.

  1. 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

From · KRA

Krita Document

Krita's native layered painting format. A zip with the layers and a merged preview.

Extensions
.kra
MIME type
application/x-krita
Kind
Images
To · ALTO

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 KRA to ALTO conversion through the API, for your app or your agent.

terminal
$ cv convert photo.kra photo.alto.xml
$ cv convert photo.kra photo.alto.xml

Questions.What people ask about KRA to ALTO.

01OF 04

It is OCR output in the XML that libraries and newspaper archives use. It holds the position and confidence of every word on the page.

Without Language, the text is read as English. Set Language to the right language, such as fr, so letters like é, ß and ł are expected.

Yes, when you set Language to match. Without it, scripts such as Cyrillic, Arabic, Thai, Korean or Chinese are not read.

One file.

More conversions.Other ways in and out of KRA and ALTO.