Convert PDN to ALTO

Turn PDN images into ALTO. The visible layers are combined with their blend modes and opacity as Paint.NET up to version 5.1 flattens them.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

The text in a Paint.NET image, as ALTO XML.The visible layers are flattened, then OCR reads the words and writes their positions.

  1. What you get

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

    A PDN file holds every layer at full canvas size, with its blend mode and opacity. The text is read from the picture those layers make together.

  2. How layers are combined

    The visible layers are combined with their blend modes and opacity, the way Paint.NET up to version 5.1 flattens them. The result is one picture, and OCR reads that picture.

    The PDN file also holds a small thumbnail of the whole picture. The conversion works from the layers, not from the thumbnail.

  3. Set the language

    Without Language, 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.

    Set Language to the languages in the image, separated by commas, such as fr,en. For other ALTO conversions, see every ALTO conversion.

PDN 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 · PDN

Paint.NET Image

Paint.NET's layered image format: every layer at full canvas size with its blend mode and opacity, and only a small thumbnail of the whole picture.

Extensions
.pdn
MIME type
image/x-paint.net
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 PDN to ALTO conversion through the API, for your app or your agent.

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

Questions.What people ask about PDN to ALTO.

01OF 04

It reads the picture made by the visible layers, combined with their blend modes and opacity. Text on a layer that is not visible is not part of that picture.

Without Language, the text is read as English. Set Language to the right language, such as fr, so OCR knows which letters to expect.

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

Yes. Separate them with commas, such as fr,en.

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