---
title: "Reading multilingual text from images | Nutrient .NET SDK"
canonical_url: "https://www.nutrient.io/guides/dotnet/ocr/usage/read-text-from-image-multi-language/"
md_url: "https://www.nutrient.io/guides/dotnet/ocr/usage/read-text-from-image-multi-language.md"
last_updated: "2026-05-28T01:45:39.254Z"
description: "How to extract text from multilingual images using OCR in Nutrient .NET SDK."
---

# Reading multilingual text from images

This guide demonstrates how to extract text from an image that contains multiple languages.

Use this workflow when you need to:

- Process mixed-language documents in one OCR pass

- Extract multilingual text for search, translation, or storage

- Reduce language-specific OCR branching in your pipeline

## Project setup

Install:

- The core Nutrient Native SDK package

- `GdPicture.Resources` for OCR language resources

## Prepare the project

Register the SDK license before running OCR operations. For setup details, refer to the [getting started with.NET SDK](https://www.nutrient.io/sdk/dotnet/getting-started.md) guide.

```csharp

using GdPicture14;

LicenseManager licence = new LicenseManager();
licence.RegisterKEY(""); // Set your license key

```

## Create OCR components

Create imaging and OCR instances:

```csharp

using GdPictureImaging imaging = new GdPictureImaging();
using GdPictureOCR ocr = new GdPictureOCR();

```

## Load the image and configure languages

Load the source image, set it on the OCR engine, and add the target languages:

```csharp

int imageId = imaging.CreateGdPictureImageFromFile(@"input_ocr_multiple_languages.png");

ocr.SetImage(imageId);

ocr.AddLanguage(OCRLanguage.English);
ocr.AddLanguage(OCRLanguage.French);

```

## Run OCR and save output

Execute OCR, read extracted text, and write it to a file:

```csharp

string ocrResultId = ocr.RunOCR(OCRSpecialContext.None);

string result = ocr.GetOCRResultText(ocrResultId);

File.WriteAllText(@"output.txt", result);

```

## Conclusion

This workflow extracts multilingual text from an image and writes the OCR result to a text file.
---

## Related pages

- [Applying OCR to a PDF document](/guides/dotnet/ocr/usage/apply-ocr-to-pdf.md)
- [C# barcode recognition](/guides/dotnet/ocr/usage/barcode-recognition.md)
- [Converting an image to a searchable PDF in memory](/guides/dotnet/ocr/usage/image-to-searchable-pdf-in-memory.md)
- [Converting images to searchable PDFs](/guides/dotnet/ocr/usage/image-to-searchable-pdf.md)
- [C# OCR scanning to searchable PDFs](/guides/dotnet/ocr/usage/ocr-scan.md)
- [OCR PDF in C#](/guides/dotnet/ocr/usage/pdf-to-searchable-pdf.md)
- [Convert images into searchable PDF/A files in C#](/guides/dotnet/ocr/usage/pdfa-archiving.md)
- [Reading text from images](/guides/dotnet/ocr/usage/read-text-from-image.md)

