Convert XCF to TXT

Turn XCF images into TXT. The visible layers are combined the way GIMP shows them, with their blend modes, opacity, masks and groups.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

The text from a GIMP image.The visible layers are combined, then the text in the picture is read out.

  1. What you get

    One TXT file with the text found in the image. The visible layers are first combined the way GIMP shows them, with their blend modes, opacity, masks and groups.

    The text is read from that combined picture with OCR, so what you get depends on what the picture shows.

  2. What it leaves behind

    Layout, tables and pictures are dropped. Only the text comes through, as plain text with no formatting.

    A picture with no readable text fails with unsupported_elements. The conversion stops there and produces no file.

    Files with active non-destructive filters from GIMP 3 are not supported, since only GIMP can apply them.

  3. Naming the language

    Set Language to the languages the text is in, so OCR knows which letters to expect. This matters most for Korean, Japanese and Chinese.

    To name several languages, separate them with commas, such as en,ko.

XCF and TXT.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 · XCF

GIMP Image

GIMP's native image format with layers.

Extensions
.xcf
MIME type
image/x-xcf
Kind
Images
To · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data

In your code.The same XCF to TXT conversion through the API, for your app or your agent.

terminal
$ cv convert photo.xcf photo.txt
$ cv convert photo.xcf photo.txt

Questions.What people ask about XCF to TXT.

01OF 04

No. The visible layers are combined into one picture first, and the text is read from that. The output is a single TXT file.

No. Layout, tables and pictures are dropped, and only the text is kept.

The picture has no readable text. Conversion stops with unsupported_elements in that case.

Naming the right language matters most for Korean, Japanese and Chinese. For other text, Language tells OCR which letters to expect.

More conversions.Other ways in and out of XCF and TXT.