---
title: "Choosing a C# image library"
url: https://recursiveai.org/oneimage/articles/csharp-image-library/
description: "A managed package can simplify deployment, but the files your C# app needs to read and write may point to a library with native codecs."
date: 2026-11-26
author: OneImage team
---

# Choosing a C# image library

A managed package can simplify deployment, but the files your C# app needs to read and write may point to a library with native codecs.

November 26, 2026 · OneImage team

OneImage is a free, open-source C# image library from Recursive AI for .NET 10, licensed under MIT or Apache-2.0 ([NuGet](https://www.nuget.org/packages/RecursiveAI.OneImage/1.11.2), [GitHub](https://github.com/recursive-ai-oss/oneimage-csharp)). Choose it for common image formats and managed deployment. Compare SkiaSharp if you draw to a canvas or Magick.NET if you need ImageMagick’s format range.

*Install · NuGet*

```
dotnet add package RecursiveAI.OneImage --version 1.11.2
```

Extract `photo.jpg` from the [thumbnail example ZIP](https://recursiveai.org/oneimage/cookbook/create-thumbnail/create-thumbnail.zip) into your .NET 10 console project. This program resizes it, writes WebP, and reopens the result to check its dimensions.

*Program.cs · OneImage 1.11.2 · .NET 10*

```
using OneImage;
 
var image = Image.Load("photo.jpg");
image.Resize(width: 320).Save("thumb.webp");
var thumb = Image.Load("thumb.webp");
Console.WriteLine($"Input: {image.Width} x {image.Height}");
Console.WriteLine($"Output: {thumb.Width} x {thumb.Height}");
```

*Output · Console*

```
Input: 1920 x 1920
Output: 320 x 320
```

## Compare formats, transforms, and deployment

Pick your input and output formats separately. For example, reading an icon, writing a TIFF, and drawing onto a canvas are different jobs. The links below describe the tested OneImage release and the named comparison releases or their official documentation.

| Library | Deployment, formats, and transforms |
|---|---|
| OneImage 1.11.2 | **What ships:** [Managed .NET 10 package](https://www.nuget.org/packages/RecursiveAI.OneImage/1.11.2); no native libraries.**Formats:** [Reads and writes](https://recursiveai.org/oneimage/docs/guide/#formats) PNG, JPEG, WebP, GIF, TIFF, BMP, and ICO. Add packages for [SVG input](https://recursiveai.org/oneimage/docs/svg/), [PDF rendering](https://recursiveai.org/oneimage/docs/pdf/), or [PSD and PSB](https://recursiveai.org/oneimage/docs/psd/).**Transforms:** [Immutable pipelines](https://recursiveai.org/oneimage/docs/guide/#the-lazy-model) for resize, crop, and rotation; pixels are computed when requested. Use [drawing APIs](https://recursiveai.org/oneimage/docs/drawing/) to compose graphics. |
| ImageSharp 4.1.4 | **What ships:** [Managed .NET 8 package](https://www.nuget.org/packages/SixLabors.ImageSharp/4.1.4). See the [Six Labors Split License v1.0](https://github.com/SixLabors/ImageSharp/blob/v4.1.4/LICENSE) for that release.**Formats:** [Built-in encoders and decoders](https://docs.sixlabors.com/articles/imagesharp/imageformats.html) include JPEG, PNG, WebP, GIF, TIFF, BMP, and TGA.**Transforms:** [Chain resize, crop, and other processors](https://docs.sixlabors.com/articles/imagesharp/processing.html) in `Mutate`, or use `Clone` to preserve the source. |
| SkiaSharp 3.119.2 | **What ships:** [C# bindings to native Skia](https://www.nuget.org/packages/SkiaSharp/3.119.2). On Linux, choose a matching [Linux native-assets package](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux.NoDependencies/3.119.2).**Formats:** [Encodes to a specified format and quality](https://learn.microsoft.com/en-us/dotnet/api/skiasharp.skimage.encode?view=skiasharp). Common outputs include JPEG, PNG, and WebP; check input support separately.**Transforms:** [Draw a source rectangle to a destination rectangle](https://learn.microsoft.com/en-us/dotnet/api/skiasharp.skcanvas.drawimage?view=skiasharp) to crop and scale within a canvas. |
| Magick.NET Q8 14.10.0 | **What ships:** [AnyCPU and architecture-specific builds](https://www.nuget.org/packages/Magick.NET-Q8-AnyCPU/14.10.0) use native ImageMagick. The [setup guide](https://github.com/dlemstra/Magick.NET/blob/14.10.0/docs/Readme.md) lists Ghostscript for PDF input and other PostScript-family formats.**Formats:** [ImageMagick lists read and write support](https://imagemagick.org/script/formats.php) for formats including JPEG, PNG, WebP, and TIFF. Check the format and delegate in your deployed build.**Transforms:** [Resize to a fixed size or resize animated GIF frames](https://github.com/dlemstra/Magick.NET/blob/14.10.0/docs/ResizeImage.md). For 16-bit component precision, evaluate Q16 instead of Q8. |

## Check the files your app actually handles

- **Photo uploads:** test a JPEG with an EXIF rotation tag and a PNG with transparency. Check the orientation of the result and decide which metadata to retain. For public thumbnails, OneImage’s [thumbnail preset](https://recursiveai.org/oneimage/docs/guide/#metadata) strips EXIF by default; plain resize is a different operation.
- **Animation and scans:** check frame count and timing on a GIF, or page count and page sizes on a TIFF. OneImage’s [frame model](https://recursiveai.org/oneimage/docs/guide/#animation-and-multi-page-files) applies transforms to every frame, but saving as JPEG writes only the first frame.
- **Graphics and documents:** distinguish drawing a new graphic from importing an existing one. OneImage can draw paths in the core package; the PDF add-on renders pages as images rather than editing the PDF.
- **Linux containers:** smoke-test a real conversion inside the final image on the production architecture. If the code uses `System.Drawing.Common`, [Microsoft removed the Unix support switch in .NET 7](https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/7.0/system-drawing); a working Windows development build doesn’t show Linux compatibility.

To try OneImage on your own files, start with the [getting-started guide](https://recursiveai.org/oneimage/docs/getting-started/) for package setup or the [read/write matrix](https://recursiveai.org/oneimage/docs/guide/#formats) for format variants.
