---
title: "Get embedded profile using memory-friendly Pipeline API"
canonical: https://www.graphicsmill.com/samples/ColorManagement/ColorProfile/GetEmbeddedProfileMemoryFriendly_cs
product: "Graphics Mill"
source: "ColorManagement/ColorProfile/GetEmbeddedProfileMemoryFriendly.cs"
---

# Get embedded profile using memory-friendly Pipeline API

Gets and displays information about the embedded profile using the memory-friendly Pipeline API.

## Instruction

Retrieves and displays the embedded ICC profile description from a CMYK image using the memory-friendly Pipeline API.

## Usings

```csharp
using System;
using Aurigma.GraphicsMill.Codecs;
```

## Code Snippet

```csharp
using (var reader = ImageReader.Create("Copenhagen_CMYK.jpg"))
{
    // Bitmap isn't loaded to memory
    Console.WriteLine("ICC Profile description:" + reader.ColorProfile.Description);
}
```

## Explanation

The following code:

- Reads the CMYK image (`Copenhagen_CMYK.jpg`) using the `ImageReader` without loading the bitmap into memory.
- Accesses and displays the embedded ICC profile description using `reader.ColorProfile.Description`.

## Tags

- [Color Management](<https://www.graphicsmill.com/samples/tags/color-management_md>): Color management with ICC profiles
- [Color Profile](<https://www.graphicsmill.com/samples/tags/color-profile_md>): Using ICC color profiles
- [Pipeline](<https://www.graphicsmill.com/samples/tags/pipeline_md>): Working with images via the Pipeline API
- [Read](<https://www.graphicsmill.com/samples/tags/read_md>): Reading images with codecs

## Input

- [Copenhagen\_CMYK.jpg](<https://www.graphicsmill.com/samples/ColorManagement/compiled/Debug/Copenhagen_CMYK_jpg>) (preview)

## Output

- [GetEmbeddedProfileMemoryFriendly.txt](<https://www.graphicsmill.com/samples/ColorManagement/compiled/Debug/GetEmbeddedProfileMemoryFriendly_txt>) (preview)

## Used APIs

- [Aurigma.GraphicsMill.Codecs.ImageReader](<https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_ImageReader.htm.md>)
- [Aurigma.GraphicsMill.Codecs.ImageReader.ColorProfile](<https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_ImageReader_ColorProfile.htm.md>)
- [Aurigma.GraphicsMill.Codecs.ImageReader.Create(String)](<https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_ImageReader_Create_1_bb3a7a4f.htm.md>)
- [Aurigma.GraphicsMill.ColorProfile.Description](<https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorProfile_Description.htm.md>)
