Convert XCF to HOCR
Turn XCF images into HOCR. 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
Text with word positions from a GIMP image.The visible layers are flattened, then read as text. Each word keeps its position on the page.
What you get
One hOCR file. It holds the text found in the image as HTML, and every word comes with its position on the page.
Before the text is read, the visible layers are combined the way GIMP shows them. Blend modes, opacity, masks and groups are all applied.
Language
Set Language to the languages the text is in, so OCR knows which letters to expect. Naming the right language matters most for Korean, Japanese and Chinese.
To name more than one, separate them with commas, such as en,ko.
What is not supported
Files with active non-destructive filters from GIMP 3 are not supported, since only GIMP can apply them.
For other conversions of this format, see every XCF conversion.
XCF and HOCR.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
GIMP Image
GIMP's native image format with layers.
- Extensions
- .xcf
- MIME type
- image
/x -xcf - Kind
- Images
hOCR
OCR output as HTML with the position of every word on the page.
- Extensions
- .hocr
- MIME type
- text
/x -hocr - Kind
- Text and data
In your code.The same XCF to HOCR conversion through the API, for your app or your agent.
$ cv convert photo.xcf photo.hocr$ cv convert photo.xcf photo.hocrQuestions.What people ask about XCF to HOCR.
No. The visible layers are combined into one image, as GIMP shows it, and the text is read from that image. The output is one file.
The Language option tells OCR which letters to expect. It matters most for Korean, Japanese and Chinese, so name the language for those.
Yes. Separate them with commas in Language, such as en,ko.
Active non-destructive filters can only be applied by GIMP itself. Files that have them are not supported.