Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.
ABBYY FineReader Engine works with images by loading them into an FRDocument object, which represents the document being processed.
Image opening
To load images into the document, do one of the following:
All these methods receive as a parameter the PrepareImageMode object, which allows you to specify different parameters of image preprocessing. Call the IEngine::CreatePrepareImageMode method to create this object, change its properties as necessary, and then pass it to one of the methods mentioned above.You can also add an existing ImageDocument object (for example, one loaded from a file in internal format) using the AddImageDocument method of the FRDocument object.
ImageDocument structure
Once loaded into the document, the image of each page can be accessed via the IFRPage::ImageDocument property. Each open image in ABBYY FineReader Engine is represented by an ImageDocument object. The ImageDocument stores the image in the so-called “internal format,” which includes 4 image planes, represented by Image objects:
Black-and-white plane. It is the black-and-white copy of the source image.
Gray plane. This is the gray copy of the source image. If the source image was black-and-white, this page is the same as the black-and-white plane.
Color plane. This is the color copy of the source image. If the source image was black-and-white, this page is the same as the black-and-white plane; if it was gray, this page is the same as the gray plane.
Preview. A small color image used for displaying a preview image in the user interface. The preview is created at the call to the GetPreviewImage or GetPreviewImageSpecificSize method. Any modification of the image, automatic or manual, may reset the created preview, and it will have to be created again.
The size and resolution of black-and-white, gray, and color images are the same. The preview image is usually smaller.The images may be deskewed during image opening. To correlate the coordinates on the original image with the coordinates after opening or after additional modifications, use the CoordinatesConverter object. It stores the state of coordinates at the moment when it was obtained. You can use this object to convert the pixel coordinates between any two stages in the image processing. For example:
After other modifications, obtain another instance of this object from the ImageDocument.
Now you can convert pixel coordinates between the initially deskewed image plane and the modified image plane by applying the ConvertCoordinates method twice:
Convert from the deskewed image plane to the original using the first instance of the CoordinatesConverter.
Convert the result from the original image plane to the modified image plane using the second instance of the CoordinatesConverter.
The same method lets you convert pixel coordinates from one of the full-size image planes to the preview image plane and back. The coordinates of pixels on the black-and-white, gray, and color image planes are the same.
An image modification, automatic or manual, may reset the preview image plane created earlier, and you will not be able to convert coordinates to or from that preview. Before converting coordinates, call the GetPreviewImage method again if the image was modified.
Image modification
The automatic preprocessing mechanisms are best to prepare the image for OCR. The program determines image origin and document type, detects incorrect orientation, resolution, or image skew, and takes all this data into account to improve the image. We recommend that you only perform additional image modifications if after automatic preprocessing you are not satisfied with the result.
Modifications during image opening are managed by the PrepareImageMode object.After opening, the image can be modified using:
You can save the current image plane into an image file in a specified format using the WriteToFile method of the Image object.ABBYY FineReader Engine also provides functionality for saving several images into a single image file. To save a multi-page image file, use the MultipageImageWriter object:
Add images to the end of the multi-page image file using the AddPage method of the MultipageImageWriter object. Each image is added as a single page.
Before the newly created image file can be used, all the references to the MultipageImageWriter object must be released.
Note that although the ImageDocument object provides a set of saving methods (SaveTo, SaveToFile, SaveToMemory), these methods cannot be used for saving an image in an external format. These methods save the contents of the ImageDocument object in the ABBYY FineReader Engine internal format, which cannot be viewed in any external program.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"ABBYY Documentation","description":"Public documentation for ABBYY products","colors":{"primary":"#ff2038","light":"#ff2038","dark":"#ff2038"},"logo":{"light":"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822","dark":"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822","href":"/home"},"favicon":"https://mintcdn.com/abbyy/Bmjdl5TjCaidPxKi/favicon.png?fit=max\u0026auto=format\u0026n=Bmjdl5TjCaidPxKi\u0026q=85\u0026s=a48bd110e79a8b2cca62fe532aae9ad7","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://www.abbyy.com","label":"Website"}],"primary":{"type":"button","label":"Get Started","href":"/vantage/getting-started/overview"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/abbyy","x":"https://x.com/ABBYY_Software"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.abbyy.com/privacy"},{"label":"Legal","href":"https://www.abbyy.com/legal"},{"label":"Cookie Policy","href":"https://www.abbyy.com/cookie-policy"},{"label":"Do Not Sell","href":"https://abbyy-privacy.my.onetrust.com/webform/89584c5c-03d1-431e-81d2-37c2205d3b5b/a1068ab4-f849-4a25-8b80-c65119915ec3"}]}]},"search":{"prompt":"Search documentation..."},"integrations":{"gtm":{"tagId":"GTM-PC7TQHPL"}},"contextual":{"options":["copy","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"home"},{"language":"de","href":"de/home"},{"language":"es","href":"es/home"},{"language":"fr","href":"fr/home"},{"language":"ja","href":"ja/home"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"abbyy","hasAudioNarration":false,"actualSubdomain":"abbyy","customDomains":["docs.abbyy.com"],"gitSource":{"type":"github","owner":"abbyyproduct","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":false,"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b073eb185868f7caba2ef10","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"en","tag":"FlexiCapture","count":2069},{"language":"de","tag":"FlexiCapture","count":2068},{"language":"es","tag":"FlexiCapture","count":2068},{"language":"fr","tag":"FlexiCapture","count":2068},{"language":"ja","tag":"FlexiCapture","count":2068},{"language":"de","tag":"FineReader Engine","count":1541},{"language":"es","tag":"FineReader Engine","count":1541},{"language":"en","tag":"FineReader Engine","count":1541},{"language":"fr","tag":"FineReader Engine","count":1541},{"language":"ja","tag":"FineReader Engine","count":1541},{"language":"de","tag":"API Reference","count":1155},{"language":"es","tag":"API Reference","count":1155},{"language":"en","tag":"API Reference","count":1155},{"language":"fr","tag":"API Reference","count":1155},{"language":"ja","tag":"API Reference","count":1155},{"language":"de","tag":"Vantage","count":846},{"language":"es","tag":"Vantage","count":846},{"language":"en","tag":"Vantage","count":846},{"language":"fr","tag":"Vantage","count":846},{"language":"ja","tag":"Vantage","count":846},{"language":"de","tag":"Developer \u0026 Integrations","count":799},{"language":"es","tag":"Developer \u0026 Integrations","count":799},{"language":"en","tag":"Developer \u0026 Integrations","count":799},{"language":"fr","tag":"Developer \u0026 Integrations","count":799},{"language":"ja","tag":"Developer \u0026 Integrations","count":799},{"language":"de","tag":"Project Setup \u0026 Design","count":741},{"language":"es","tag":"Project Setup \u0026 Design","count":741},{"language":"en","tag":"Project Setup \u0026 Design","count":741},{"language":"fr","tag":"Project Setup \u0026 Design","count":741},{"language":"ja","tag":"Project Setup \u0026 Design","count":741},{"language":"de","tag":"Programmer's Guide","count":606},{"language":"es","tag":"Programmer's Guide","count":606},{"language":"en","tag":"Programmer's Guide","count":606},{"language":"fr","tag":"Programmer's Guide","count":606},{"language":"ja","tag":"Programmer's Guide","count":606},{"language":"de","tag":"Advanced Designer","count":520},{"language":"es","tag":"Advanced Designer","count":520},{"language":"en","tag":"Advanced Designer","count":520},{"language":"fr","tag":"Advanced Designer","count":520},{"language":"ja","tag":"Advanced Designer","count":520},{"language":"de","tag":"Skills","count":516},{"language":"es","tag":"Skills","count":516},{"language":"en","tag":"Skills","count":516},{"language":"fr","tag":"Skills","count":516},{"language":"ja","tag":"Skills","count":516},{"language":"de","tag":"Connectors","count":365},{"language":"es","tag":"Connectors","count":365},{"language":"en","tag":"Connectors","count":365},{"language":"fr","tag":"Connectors","count":365},{"language":"ja","tag":"Connectors","count":365}],"searchSettings":{"isFiltersEnabled":true,"maxResults":10}},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"footer{margin-top:auto;padding:2rem 0;border-top:1px solid var(--border-color);width:100%;clear:both;position:relative;z-index:1}body{display:flex;flex-direction:column;min-height:100vh}main{flex:1}footer a{color:var(--text-secondary);text-decoration:none;transition:color 0.2s ease}footer a:hover{color:var(--primary);text-decoration:underline}footer>div{max-width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}footer .footer-links{display:flex;gap:1.5rem;flex-wrap:wrap;margin-top:1rem}@media (min-width: 1024px){footer{margin-left:0;padding-left:1rem}}.abbyy-stripe{background-image:linear-gradient(45deg, #dfebfd, #dfebfd 10px, #ecf3fe 10px, #ecf3fe 20px)}.dark .abbyy-stripe{background-image:linear-gradient(45deg, rgb(30 41 59 / 0.45), rgb(30 41 59 / 0.45) 10px, rgb(15 23 42 / 0.45) 10px, rgb(15 23 42 / 0.45) 20px)}.abbyy-btn-primary{background-color:#ff2038}.abbyy-btn-primary:hover{background-color:#e01c32}.abbyy-btn-primary:focus{--tw-ring-color: rgb(255 32 56 / 0.35)}.abbyy-link-primary{color:#ff2038}.abbyy-link-primary:hover{color:#e01c32}.dark .abbyy-link-primary{color:#ff4d60}.abbyy-eyebrow{color:#0b4aaa}.dark .abbyy-eyebrow{color:#93b8ec}.docs-home{max-width:80rem;margin:0 auto;padding:2.5rem 1.25rem 8rem}@media (min-width: 1024px){.docs-home{padding-left:2.5rem;padding-right:2.5rem}}.docs-home h1{font-size:2rem;font-weight:800;margin-top:1.5rem;margin-bottom:0.75rem;color:#0f172a;letter-spacing:-0.025em}@media (min-width: 640px){.docs-home h1{font-size:2.5rem}}.docs-home>p:first-of-type{color:#374151;font-size:1.0625rem;line-height:1.75;margin-bottom:2rem}.docs-home h2{font-size:1.375rem;font-weight:700;margin-top:2.5rem;margin-bottom:0.5rem;color:#0f172a}.docs-home a.link,.docs-home p a,.docs-home [data-as=\"p\"] a{color:#0f172a!important;text-decoration:underline!important;text-decoration-thickness:1.5px!important;text-underline-offset:3px!important}.dark .docs-home a.link,.dark .docs-home p a,.dark .docs-home [data-as=\"p\"] a{color:#f1f5f9!important}.docs-home>p{color:#374151;font-size:1rem;line-height:1.75;margin-bottom:1.75rem}.docs-home .card-group{gap:0.75rem!important;margin-top:0.75rem!important;max-width:64rem}.docs-home .card [data-component-part=\"card-content-container\"]{padding:1.25rem 1.5rem!important}.docs-home .card [data-component-part=\"card-title\"]{margin-top:0.5rem!important;font-weight:600!important;font-size:0.9375rem!important;color:#0f172a}.docs-home .card [data-component-part=\"card-content\"]{font-size:0.8125rem!important;line-height:1.5!important;color:#475569}.docs-home .card [data-component-part=\"card-cta\"]{margin-top:0.75rem!important}.docs-home .learn-more{display:block;margin-top:0.5rem;font-size:0.8125rem;color:var(--primary);font-weight:500}.dark .docs-home h1,.dark .docs-home h2{color:#f1f5f9}.dark .docs-home>p,.dark .docs-home .card [data-component-part=\"card-content\"]{color:#94a3b8}.dark .docs-home .card [data-component-part=\"card-title\"]{color:#f1f5f9}@media (max-width: 768px){footer .footer-links{flex-direction:column;gap:0.75rem}footer{padding:1.5rem 1rem}}"}]}
{"page":{"pagePath":"fine-reader/engine/guided-tour/advanced-techniques/working-with-images","slug":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-images","pageMetadata":{"title":"Working with Images","description":"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.","keywords":["FineReader Engine working with images","CreateFRDocumentFromImage","AddImageFile","PrepareImageMode","FRDocument image loading","ImageDocument structure","AddImageDocument","FineReader Engine 12","FRE"],"href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-images"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`ABBYY FineReader Engine works with images by loading them into an `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument`,children:`FRDocument`}),` object, which represents the document being processed.`]}),`\n`,_jsx(Heading,{level:`2`,id:`image-opening`,children:`Image opening`}),`\n`,_jsx(_components.p,{children:`To load images into the document, do one of the following:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createfrdocumentfromimage-method`,children:`CreateFRDocumentFromImage`}),` method of the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/engine-object-iengine-interface`,children:`Engine`}),` object to create an FRDocument object.`]}),`\n`,_jsxs(_components.li,{children:[`Add images to an existing FRDocument object from a file. Use the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument/addimagefile-method`,children:`AddImageFile`}),`, `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument/addimagefilefrommemory-method`,children:`AddImageFileFromMemory`}),`, `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument/addimagefilefromstream-method`,children:`AddImageFileFromStream`}),`, `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument/addimagefilewithpassword-method`,children:`AddImageFileWithPassword`}),`, or `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument/addimagefilewithpasswordcallback-method`,children:`AddImageFileWithPasswordCallback`}),` method.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`All these methods receive as a parameter the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/prepareimagemode`,children:`PrepareImageMode`}),` object, which allows you to specify different parameters of image preprocessing. Call the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods`,children:`IEngine::CreatePrepareImageMode`}),` method to create this object, change its properties as necessary, and then pass it to one of the methods mentioned above.`]}),`\n`,_jsxs(_components.p,{children:[`You can also add an existing ImageDocument object (for example, one loaded from a file in internal format) using the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument/addimagedocument-method`,children:`AddImageDocument`}),` method of the FRDocument object.`]}),`\n`,_jsx(Heading,{level:`2`,id:`imagedocument-structure`,children:`ImageDocument structure`}),`\n`,_jsxs(_components.p,{children:[`Once loaded into the document, the image of each page can be accessed via the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frpage`,children:`IFRPage::ImageDocument`}),` property. Each open image in ABBYY FineReader Engine is represented by an `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument`,children:`ImageDocument`}),` object. The ImageDocument stores the image in the so-called “internal format,” which includes 4 image planes, represented by `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/image`,children:`Image`}),` objects:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Black-and-white plane. It is the black-and-white copy of the source image.`}),`\n`,_jsx(_components.li,{children:`Gray plane. This is the gray copy of the source image. If the source image was black-and-white, this page is the same as the black-and-white plane.`}),`\n`,_jsx(_components.li,{children:`Color plane. This is the color copy of the source image. If the source image was black-and-white, this page is the same as the black-and-white plane; if it was gray, this page is the same as the gray plane.`}),`\n`,_jsxs(_components.li,{children:[`Preview. A small color image used for displaying a preview image in the user interface. The preview is created at the call to the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument/getpreviewimage-method`,children:`GetPreviewImage`}),` or `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument/getpreviewimagespecificsize-method`,children:`GetPreviewImageSpecificSize`}),` method. Any modification of the image, automatic or manual, may reset the created preview, and it will have to be created again.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The size and resolution of black-and-white, gray, and color images are the same. The preview image is usually smaller.`}),`\n`,_jsxs(_components.p,{children:[`The images may be deskewed during image opening. To correlate the coordinates on the original image with the coordinates after opening or after additional modifications, use the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/coordinatesconverter`,children:`CoordinatesConverter`}),` object. It stores the state of coordinates at the moment when it was obtained. You can use this object to convert the pixel coordinates between any two stages in the image processing. For example:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Get this object using the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument#coordinatesconverter`,children:`IImageDocument::CoordinatesConverter`}),` property directly after image opening, during which image skew was corrected.`]}),`\n`,_jsx(_components.li,{children:`After other modifications, obtain another instance of this object from the ImageDocument.`}),`\n`,_jsxs(_components.li,{children:[`Now you can convert pixel coordinates between the initially deskewed image plane and the modified image plane by applying the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/coordinatesconverter/convertcoordinates-method`,children:`ConvertCoordinates`}),` method twice:`,`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Convert from the deskewed image plane to the original using the first instance of the CoordinatesConverter.`}),`\n`,_jsx(_components.li,{children:`Convert the result from the original image plane to the modified image plane using the second instance of the CoordinatesConverter.`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The same method lets you convert pixel coordinates from one of the full-size image planes to the preview image plane and back. The coordinates of pixels on the black-and-white, gray, and color image planes are the same.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`An image modification, automatic or manual, may reset the preview image plane created earlier, and you will not be able to convert coordinates to or from that preview. Before converting coordinates, call the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument/getpreviewimage-method`,children:`GetPreviewImage`}),` method again if the image was modified.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`image-modification`,children:`Image modification`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The automatic preprocessing mechanisms are best to prepare the image for OCR. The program determines image origin and document type, detects incorrect orientation, resolution, or image skew, and takes all this data into account to improve the image. We recommend that you only perform additional image modifications if after automatic preprocessing you are not satisfied with the result.`})}),`\n`,_jsxs(_components.p,{children:[`Modifications during image opening are managed by the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/prepareimagemode`,children:`PrepareImageMode`}),` object.`]}),`\n`,_jsx(_components.p,{children:`After opening, the image can be modified using:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Methods of the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument`,children:`ImageDocument`}),` object`]}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagemodification`,children:`ImageModification`}),` object, passed to the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument/modify-method`,children:`IImageDocument::Modify`}),` method`]}),`\n`,_jsxs(_components.li,{children:[`Methods of the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frpage`,children:`FRPage`}),` and `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/document-related-objects/frdocument`,children:`FRDocument`}),` objects`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`image-saving`,children:`Image saving`}),`\n`,_jsxs(_components.p,{children:[`You can save the current image plane into an image file in a specified format using the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/image/writetofile-method`,children:`WriteToFile`}),` method of the Image object.`]}),`\n`,_jsxs(_components.p,{children:[`ABBYY FineReader Engine also provides functionality for saving several images into a single image file. To save a multi-page image file, use the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/multipageimagewriter`,children:`MultipageImageWriter`}),` object:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Create a MultipageImageWriter object using the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createmultipageimagewriter-method`,children:`CreateMultipageImageWriter`}),` method of the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/engine-object-iengine-interface`,children:`Engine`}),` object.`]}),`\n`,_jsxs(_components.li,{children:[`Add images to the end of the multi-page image file using the `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/multipageimagewriter/addpage-method`,children:`AddPage`}),` method of the MultipageImageWriter object. Each image is added as a single page.`]}),`\n`,_jsx(_components.li,{children:`Before the newly created image file can be used, all the references to the MultipageImageWriter object must be released.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Note that although the ImageDocument object provides a set of saving methods (`,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument/saveto-method`,children:`SaveTo`}),`, `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument/savetofile-method`,children:`SaveToFile`}),`, `,_jsx(_components.a,{href:`/fine-reader/engine/api-reference/image-related-objects/imagedocument/savetomemory-method`,children:`SaveToMemory`}),`), these methods cannot be used for saving an image in an external format. These methods save the contents of the ImageDocument object in the ABBYY FineReader Engine internal format, which cannot be viewed in any external program.`]}),`\n`,_jsx(Heading,{level:`2`,id:`see-also`,children:`See also`}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/fine-reader/engine/specifications/supported-image-formats`,children:`Supported Image Formats`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Working with Images","description":"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.","keywords":["FineReader Engine working with images","CreateFRDocumentFromImage","AddImageFile","PrepareImageMode","FRDocument image loading","ImageDocument structure","AddImageDocument","FineReader Engine 12","FRE"],"href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-images"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Image opening","slug":"image-opening","depth":2,"children":[]},{"title":"ImageDocument structure","slug":"imagedocument-structure","depth":2,"children":[]},{"title":"Image modification","slug":"image-modification","depth":2,"children":[]},{"title":"Image saving","slug":"image-saving","depth":2,"children":[]},{"title":"See also","slug":"see-also","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/abbyy/1facc084b5289853/images/vantage/scanning-station/breadcrumbs.js"],"subdomain":"abbyy","siteName":"ABBYY Documentation","title":"Working with Images - ABBYY Documentation","relatedPagesConfig":{"enabled":false,"limit":5,"mode":"automatic"},"contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-images","matchLevel":0},"de":{"href":"/de/fine-reader/engine/guided-tour/advanced-techniques/working-with-images","matchLevel":1},"es":{"href":"/es/fine-reader/engine/guided-tour/advanced-techniques/working-with-images","matchLevel":1},"fr":{"href":"/fr/fine-reader/engine/guided-tour/advanced-techniques/working-with-images","matchLevel":1},"ja":{"href":"/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-images","matchLevel":1}},"searchTabScopes":[{"language":"en","product":"Vantage","tab":"Getting Started"},{"language":"en","product":"Vantage","tab":"Skills"},{"language":"en","product":"Vantage","tab":"Operations"},{"language":"en","product":"Vantage","tab":"Administration"},{"language":"en","product":"Vantage","tab":"Developer"},{"language":"en","product":"Vantage","tab":"Release Notes"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"en","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"en","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"en","product":"FineParser","tab":"Basic"},{"language":"en","product":"FineParser","tab":"Enterprise"},{"language":"en","product":"FineParser","tab":"Release Notes"},{"language":"en","product":"FineReader Engine","tab":"Introduction"},{"language":"en","product":"FineReader Engine","tab":"Guided Tour"},{"language":"en","product":"FineReader Engine","tab":"API Reference"},{"language":"en","product":"FineReader Engine","tab":"Visual Components"},{"language":"en","product":"FineReader Engine","tab":"Licensing"},{"language":"en","product":"FineReader Engine","tab":"Installation"},{"language":"en","product":"FineReader Engine","tab":"Distribution"},{"language":"en","product":"FineReader Engine","tab":"Specifications"},{"language":"en","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"en","product":"FineReader Engine","tab":"Release Notes"},{"language":"en","product":"FlexiCapture","tab":"Get Started"},{"language":"en","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"en","product":"FlexiCapture","tab":"Operator Guides"},{"language":"en","product":"FlexiCapture","tab":"Administration"},{"language":"en","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"en","product":"FlexiCapture","tab":"Release Notes"},{"language":"de","product":"Vantage","tab":"Getting Started"},{"language":"de","product":"Vantage","tab":"Skills"},{"language":"de","product":"Vantage","tab":"Operations"},{"language":"de","product":"Vantage","tab":"Administration"},{"language":"de","product":"Vantage","tab":"Developer"},{"language":"de","product":"Vantage","tab":"Release Notes"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"de","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"de","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"de","product":"FineParser","tab":"Basic"},{"language":"de","product":"FineParser","tab":"Enterprise"},{"language":"de","product":"FineParser","tab":"Release Notes"},{"language":"de","product":"FineReader Engine","tab":"Introduction"},{"language":"de","product":"FineReader Engine","tab":"Guided Tour"},{"language":"de","product":"FineReader Engine","tab":"API Reference"},{"language":"de","product":"FineReader Engine","tab":"Visual Components"},{"language":"de","product":"FineReader Engine","tab":"Licensing"},{"language":"de","product":"FineReader Engine","tab":"Installation"},{"language":"de","product":"FineReader Engine","tab":"Distribution"},{"language":"de","product":"FineReader Engine","tab":"Specifications"},{"language":"de","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"de","product":"FineReader Engine","tab":"Release Notes"},{"language":"de","product":"FlexiCapture","tab":"Get Started"},{"language":"de","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"de","product":"FlexiCapture","tab":"Operator Guides"},{"language":"de","product":"FlexiCapture","tab":"Administration"},{"language":"de","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"de","product":"FlexiCapture","tab":"Release Notes"},{"language":"es","product":"Vantage","tab":"Getting Started"},{"language":"es","product":"Vantage","tab":"Skills"},{"language":"es","product":"Vantage","tab":"Operations"},{"language":"es","product":"Vantage","tab":"Administration"},{"language":"es","product":"Vantage","tab":"Developer"},{"language":"es","product":"Vantage","tab":"Release Notes"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"es","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"es","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"es","product":"FineParser","tab":"Basic"},{"language":"es","product":"FineParser","tab":"Enterprise"},{"language":"es","product":"FineParser","tab":"Release Notes"},{"language":"es","product":"FineReader Engine","tab":"Introduction"},{"language":"es","product":"FineReader Engine","tab":"Guided Tour"},{"language":"es","product":"FineReader Engine","tab":"API Reference"},{"language":"es","product":"FineReader Engine","tab":"Visual Components"},{"language":"es","product":"FineReader Engine","tab":"Licensing"},{"language":"es","product":"FineReader Engine","tab":"Installation"},{"language":"es","product":"FineReader Engine","tab":"Distribution"},{"language":"es","product":"FineReader Engine","tab":"Specifications"},{"language":"es","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"es","product":"FineReader Engine","tab":"Release Notes"},{"language":"es","product":"FlexiCapture","tab":"Get Started"},{"language":"es","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"es","product":"FlexiCapture","tab":"Operator Guides"},{"language":"es","product":"FlexiCapture","tab":"Administration"},{"language":"es","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"es","product":"FlexiCapture","tab":"Release Notes"},{"language":"fr","product":"Vantage","tab":"Getting Started"},{"language":"fr","product":"Vantage","tab":"Skills"},{"language":"fr","product":"Vantage","tab":"Operations"},{"language":"fr","product":"Vantage","tab":"Administration"},{"language":"fr","product":"Vantage","tab":"Developer"},{"language":"fr","product":"Vantage","tab":"Release Notes"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"fr","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"fr","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"fr","product":"FineParser","tab":"Basic"},{"language":"fr","product":"FineParser","tab":"Enterprise"},{"language":"fr","product":"FineParser","tab":"Release Notes"},{"language":"fr","product":"FineReader Engine","tab":"Introduction"},{"language":"fr","product":"FineReader Engine","tab":"Guided Tour"},{"language":"fr","product":"FineReader Engine","tab":"API Reference"},{"language":"fr","product":"FineReader Engine","tab":"Visual Components"},{"language":"fr","product":"FineReader Engine","tab":"Licensing"},{"language":"fr","product":"FineReader Engine","tab":"Installation"},{"language":"fr","product":"FineReader Engine","tab":"Distribution"},{"language":"fr","product":"FineReader Engine","tab":"Specifications"},{"language":"fr","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"fr","product":"FineReader Engine","tab":"Release Notes"},{"language":"fr","product":"FlexiCapture","tab":"Get Started"},{"language":"fr","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"fr","product":"FlexiCapture","tab":"Operator Guides"},{"language":"fr","product":"FlexiCapture","tab":"Administration"},{"language":"fr","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"fr","product":"FlexiCapture","tab":"Release Notes"},{"language":"ja","product":"Vantage","tab":"Getting Started"},{"language":"ja","product":"Vantage","tab":"Skills"},{"language":"ja","product":"Vantage","tab":"Operations"},{"language":"ja","product":"Vantage","tab":"Administration"},{"language":"ja","product":"Vantage","tab":"Developer"},{"language":"ja","product":"Vantage","tab":"Release Notes"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Getting Started"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Installation"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Administration"},{"language":"ja","product":"Vantage Self-Hosted","version":"2.7","tab":"Operations"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Introduction"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Providers"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Operations"},{"language":"ja","product":"Vantage Self-Hosted","version":"3.0","tab":"Reference"},{"language":"ja","product":"FineParser","tab":"Basic"},{"language":"ja","product":"FineParser","tab":"Enterprise"},{"language":"ja","product":"FineParser","tab":"Release Notes"},{"language":"ja","product":"FineReader Engine","tab":"Introduction"},{"language":"ja","product":"FineReader Engine","tab":"Guided Tour"},{"language":"ja","product":"FineReader Engine","tab":"API Reference"},{"language":"ja","product":"FineReader Engine","tab":"Visual Components"},{"language":"ja","product":"FineReader Engine","tab":"Licensing"},{"language":"ja","product":"FineReader Engine","tab":"Installation"},{"language":"ja","product":"FineReader Engine","tab":"Distribution"},{"language":"ja","product":"FineReader Engine","tab":"Specifications"},{"language":"ja","product":"FineReader Engine","tab":"Frequently Asked Questions"},{"language":"ja","product":"FineReader Engine","tab":"Release Notes"},{"language":"ja","product":"FlexiCapture","tab":"Get Started"},{"language":"ja","product":"FlexiCapture","tab":"Project Setup \u0026 Design"},{"language":"ja","product":"FlexiCapture","tab":"Operator Guides"},{"language":"ja","product":"FlexiCapture","tab":"Administration"},{"language":"ja","product":"FlexiCapture","tab":"Developer \u0026 Integrations"},{"language":"ja","product":"FlexiCapture","tab":"Release Notes"}]},"lastModified":"2026-05-20T00:30:03.899Z","originalFileLocation":"fine-reader/engine/guided-tour/advanced-techniques/working-with-images.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Working with Images - ABBYY Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://abbyy.mintlify.site/_mintlify/api/og/v2?division=Advanced+Techniques\u0026amp;title=Working+with+Images\u0026amp;description=Load+images+into+an+ABBYY+FineReader+Engine+FRDocument+with+CreateFRDocumentFromImage+or+AddImageFile%2C+and+tune+PrepareImageMode+for+image+preprocessing.\u0026amp;theme=4f2d1c712ddc27b116468484\u0026amp;signature=a4113c6b5f132f8164a480ae63c4d711e03dda500ed5ba214c259871f12a72d7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Working with Images - ABBYY Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://abbyy.mintlify.site/_mintlify/api/og/v2?division=Advanced+Techniques\u0026amp;title=Working+with+Images\u0026amp;description=Load+images+into+an+ABBYY+FineReader+Engine+FRDocument+with+CreateFRDocumentFromImage+or+AddImageFile%2C+and+tune+PrepareImageMode+for+image+preprocessing.\u0026amp;theme=4f2d1c712ddc27b116468484\u0026amp;signature=a4113c6b5f132f8164a480ae63c4d711e03dda500ed5ba214c259871f12a72d7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/abbyy/qG6QlNTVUcFt7aek/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ABBYY Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff2038\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fine-reader/engine/guided-tour/advanced-techniques/working-with-images.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.abbyy.com/de/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.abbyy.com/es/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.abbyy.com/fr/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.abbyy.com/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.abbyy.com/#organization\",\"name\":\"ABBYY Documentation\",\"url\":\"https://docs.abbyy.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/abbyy/jZX7kaKQgdxaDiIT/logo/ABBYY.png?fit=max\u0026auto=format\u0026n=jZX7kaKQgdxaDiIT\u0026q=85\u0026s=22a894b7aa77d1a21a7cea6a2484f822\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.abbyy.com#website\",\"name\":\"ABBYY Documentation\",\"url\":\"https://docs.abbyy.com\",\"publisher\":{\"@id\":\"https://docs.abbyy.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images#webpage\",\"url\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\",\"name\":\"Working with Images\",\"description\":\"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.\",\"dateModified\":\"2026-05-20T00:30:03.899Z\",\"isPartOf\":{\"@id\":\"https://docs.abbyy.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced Techniques\",\"item\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Working with Images\",\"item\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images#article\",\"headline\":\"Working with Images\",\"name\":\"Working with Images\",\"description\":\"Load images into an ABBYY FineReader Engine FRDocument with CreateFRDocumentFromImage or AddImageFile, and tune PrepareImageMode for image preprocessing.\",\"url\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images\",\"mainEntityOfPage\":{\"@id\":\"https://docs.abbyy.com/fine-reader/engine/guided-tour/advanced-techniques/working-with-images#webpage\"},\"dateModified\":\"2026-05-20T00:30:03.899Z\",\"keywords\":\"FineReader Engine working with images, CreateFRDocumentFromImage, AddImageFile, PrepareImageMode, FRDocument image loading, ImageDocument structure, AddImageDocument, FineReader Engine 12, FRE\",\"publisher\":{\"@id\":\"https://docs.abbyy.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.abbyy.com#website\"}}]}\u003c/script>","agentPointerHref":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-images.md","siteName":"ABBYY Documentation","nav":{"languages":[{"language":"en","products":[{"product":"Home","description":"ABBYY Documentation Portal","pages":[{"title":"Home","href":"/home"}]},{"product":"Vantage","description":"AI-powered Intelligent Document Processing","pages":[{"title":"Vantage","href":"/vantage/introduction"}]},{"product":"Vantage Self-Hosted","description":"Customer-hosted deployment of ABBYY Vantage on Kubernetes","versions":[{"version":"2.7"},{"version":"3.0"}],"pages":[{"title":"Vantage Self-Hosted","href":"/vantage/self-hosted/v3.0/introduction"}]},{"product":"FineParser","description":"Docker-native document parsing for AI pipelines","pages":[{"title":"FineParser","href":"/fine-parser/getting-started/introduction"}]},{"product":"FineReader Engine","description":"OCR SDK for developers","tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/fine-reader/engine/introduction"}]},{"tab":"Guided Tour","groups":[{"group":"Overview","pages":[{"title":"Guided Tour","href":"/fine-reader/engine/guided-tour"}]},{"group":"Basic Usage Scenarios Implementation","pages":[{"title":"Scenario Implementation","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation"},{"title":"Data Extraction","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/data-extraction"},{"title":"Document Conversion","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/document-conversion"},{"title":"Document Archiving","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/document-archiving"},{"title":"Text Extraction","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/text-extraction"},{"title":"Field-Level Recognition","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/field-level-recognition"},{"title":"Barcode Recognition","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/barcode-recognition"},{"title":"Business Card Recognition","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/business-card-recognition"},{"title":"Machine-Readable Zone Capture","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/machine-readable-zone-capture"},{"title":"Document Classification","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/document-classification"},{"title":"Scanning","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/scanning"},{"title":"Document Comparison","href":"/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/document-comparison"}]},{"group":"Advanced Techniques","pages":[{"title":"Overview","href":"/fine-reader/engine/guided-tour/advanced-techniques"},{"group":"Programming Aspects","pages":[{"title":"Programming Aspects","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects"},{"title":"Different Ways to Load the Engine Object","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/different-ways-to-load-engine"},{"title":"Use FineReader Engine in Multi-Threaded Server Applications","sidebarTitle":"Using ABBYY FineReader Engine in","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/using-in-server-applications"},{"title":"Error Handling","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/error-handling"},{"title":"Handling Errors During PDF/XPS Export","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/handling-errors-during-pdfxps-export"},{"title":"Working with Properties","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties"},{"title":"Working with Collections","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-collections"},{"title":"Working with Connectable Objects","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-connectable-objects"},{"title":"Working with COM Interfaces from a Scripting Language","sidebarTitle":"Working with COM Interfaces from a","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/using-in-scripting-languages"},{"title":"Using ABBYY FineReader Engine in Java","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/using-in-java"},{"title":"Using Java with FRE for Windows","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/using-in-java/using-fre-in-java-in-windows"},{"title":"Using Java with FRE for Linux","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/using-in-java/using-fre-in-java-in-linux"},{"title":"Cross-platform development in Java","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/cross-platform-development-in-java"},{"title":"Using ABBYY FineReader Engine in .NET Core","sidebarTitle":"Using ABBYY FineReader Engine in","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/using-in-net-core"},{"title":"Using ABBYY FineReader Engine in C (Objective-C)","sidebarTitle":"Using ABBYY FineReader Engine in C","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/using-in-cobjective-c"},{"title":"Out-of-Process Server Implementation","href":"/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/out-of-process-server-implementation"}]},{"title":"Working with Profiles","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-profiles"},{"title":"Tune Preprocessing, Analysis, Recognition, and Synthesis","sidebarTitle":"Tuning Parameters of Page","href":"/fine-reader/engine/guided-tour/advanced-techniques/tuning-parameters-of-preprocessing-analysis-recognition-and-synthesis"},{"title":"Tuning Export Parameters","href":"/fine-reader/engine/guided-tour/advanced-techniques/tuning-export-parameters"},{"group":"Parallel Processing","pages":[{"title":"Parallel Processing with ABBYY FineReader Engine","sidebarTitle":"Parallel Processing with ABBYY","href":"/fine-reader/engine/guided-tour/advanced-techniques/parallel-processing"},{"title":"Parallel Processing in Windows","href":"/fine-reader/engine/guided-tour/advanced-techniques/parallel-processing/parallel-processing-in-windows"},{"title":"Parallel Processing in Linux","description":"Run ABBYY FineReader Engine parallel processing on Linux using MultiProcessingParams with FRDocument or BatchProcessor, including RAM requirements for CJK and Arabic.","href":"/fine-reader/engine/guided-tour/advanced-techniques/parallel-processing/parallel-processing-in-linux"}]},{"title":"Working with Images","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-images"},{"title":"Working with Languages","description":"Set the ABBYY FineReader Engine recognition language with SetPredefinedTextLanguage, use LanguageDetectionMode for autodetection, or build custom languages with custom alphabets.","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-languages"},{"title":"Working with Layout and Blocks","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-layout-and-blocks"},{"title":"Working with Text","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-text"},{"title":"Working with Fonts","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-fonts"},{"title":"Iterating Document Pages","href":"/fine-reader/engine/guided-tour/advanced-techniques/iterating-document-pages"},{"title":"Using Voting API","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-voting-api"},{"title":"Using Text Type Autodetection","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-text-type-autodetection"},{"title":"Recognizing Checkmarks","href":"/fine-reader/engine/guided-tour/advanced-techniques/recognizing-checkmarks"},{"title":"Recognizing Barcodes","href":"/fine-reader/engine/guided-tour/advanced-techniques/recognizing-barcodes"},{"title":"Recognizing Handwritten Texts","href":"/fine-reader/engine/guided-tour/advanced-techniques/recognizing-handwritten-texts"},{"title":"Recognizing Handprinted Arabic Digits","href":"/fine-reader/engine/guided-tour/advanced-techniques/recognizing-handprinted-arabic-digits"},{"title":"Recognizing Chinese, Japanese, and Korean Languages","sidebarTitle":"Recognizing Chinese, Japanese, and","href":"/fine-reader/engine/guided-tour/advanced-techniques/recognizing-cjk-languages"},{"title":"Working with Dictionaries","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-dictionaries"},{"title":"Working with ABBYY FineReader Engine Regular Expressions","sidebarTitle":"Working with ABBYY FineReader","href":"/fine-reader/engine/guided-tour/advanced-techniques/working-with-regular-expressions"},{"title":"Recognizing Words with Spaces","href":"/fine-reader/engine/guided-tour/advanced-techniques/recognizing-words-with-spaces"},{"title":"ZUGFeRD-compliant electronic invoices","href":"/fine-reader/engine/guided-tour/advanced-techniques/zugferd-compliant-electronic-invoices"},{"group":"Using GUI Elements","pages":[{"title":"Using Graphical User Interface Elements","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements"},{"title":"Creating an Application with a Graphical User Interface","sidebarTitle":"Creating an Application with a","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/creating-an-application-with-gui"},{"title":"Customize the Context Menu and Toolbar of a Visual Component","sidebarTitle":"Customizing the Context Menu and","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/customizing-the-context-menu-and-toolbar-of-a-visual-component"},{"title":"How Component Synchronizer Works","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/how-component-synchronizer-works"},{"title":"Visual Components Localization","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/visual-components-localization"},{"title":"Recognizing with Training","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/recognizing-with-training"},{"title":"Training User Patterns","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/training-user-patterns"},{"title":"Pattern Training Dialog Box","href":"/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/training-user-patterns/pattern-training-dialog-box"}]},{"title":"Description of the ABBYY FineReader Engine Samples","sidebarTitle":"FineReader Engine Samples","href":"/fine-reader/engine/guided-tour/samples"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/fine-reader/engine/api-reference"}]},{"tab":"Visual Components","pages":[{"title":"Visual Components","href":"/fine-reader/engine/visual-components-reference"}]},{"tab":"Licensing","pages":[{"title":"Licensing","href":"/fine-reader/engine/licensing"}]},{"tab":"Installation","pages":[{"title":"Installation","href":"/fine-reader/engine/installation"}]},{"tab":"Distribution","pages":[{"title":"Distribution","href":"/fine-reader/engine/distribution"}]},{"tab":"Specifications","pages":[{"title":"Specifications","href":"/fine-reader/engine/specifications"}]},{"tab":"Frequently Asked Questions","pages":[{"title":"Frequently Asked Questions","href":"/fine-reader/engine/frequently-asked-questions"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/fine-reader/engine/release-notes/12.8"}]}]},{"product":"FlexiCapture","description":"ABBYY FlexiCapture: design, capture, scan, process, verify, administer, and integrate intelligent document processing.","pages":[{"title":"FlexiCapture","href":"/flexi-capture/overview/hub"}]}]},{"language":"de","pages":[{"title":"de","href":"/de/fine-reader/engine/guided-tour/advanced-techniques/working-with-images"}]},{"language":"es","pages":[{"title":"es","href":"/es/fine-reader/engine/guided-tour/advanced-techniques/working-with-images"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/fine-reader/engine/guided-tour/advanced-techniques/working-with-images"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-images"}]}]},"basePath":"","title":"Working with Images - ABBYY Documentation","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":[],"chunks":[]}