SixLabors.ImageSharp 2.1.10

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package SixLabors.ImageSharp --version 2.1.10
                    
NuGet\Install-Package SixLabors.ImageSharp -Version 2.1.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SixLabors.ImageSharp" Version="2.1.10" />
                    
Directory.Packages.props
<PackageReference Include="SixLabors.ImageSharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SixLabors.ImageSharp --version 2.1.10
                    
#r "nuget: SixLabors.ImageSharp, 2.1.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=SixLabors.ImageSharp&version=2.1.10
                    
Install SixLabors.ImageSharp as a Cake Addin
#tool nuget:?package=SixLabors.ImageSharp&version=2.1.10
                    
Install SixLabors.ImageSharp as a Cake Tool

SixLabors.ImageSharp

SixLabors.ImageSharp

Build Status Code coverage License: Six Labors Split Twitter

ImageSharp is a new, fully featured, fully managed, cross-platform, 2D graphics library. Designed to simplify image processing, ImageSharp brings you an incredibly powerful yet beautifully simple API.

ImageSharp is designed from the ground up to be flexible and extensible. The library provides API endpoints for common image processing operations and the building blocks to allow for the development of additional operations.

Built against .NET 6, ImageSharp can be used in device, cloud, and embedded/IoT scenarios.

License

Support Six Labors

Support the efforts of the development of the Six Labors projects.

Documentation

  • Detailed documentation for the ImageSharp API is available. This includes additional conceptual documentation to help you get started.
  • Our Samples Repository is also available containing buildable code samples demonstrating common activities.

Questions

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

Installation

Install stable releases via Nuget; development releases are available via MyGet.

Package Name Release (NuGet) Nightly (Feedz.io)
SixLabors.ImageSharp NuGet feedz.io

Manual build

If you prefer, you can compile ImageSharp yourself (please do and help!)

Alternatively, you can work from command line and/or with a lightweight editor on both Linux/Unix and Windows:

To clone ImageSharp locally, click the "Clone in [YOUR_OS]" button above or run the following git commands:

git clone https://github.com/SixLabors/ImageSharp

Then set the following config to ensure blame commands ignore mass reformatting commits.

git config blame.ignoreRevsFile .git-blame-ignore-revs

If working with Windows please ensure that you have enabled long file paths in git (run as Administrator).

git config --system core.longpaths true

This repository uses Git Large File Storage. Please follow the linked instructions to ensure you have it set up in your environment.

This repository contains Git Submodules. To add the submodules to the project, navigate to the repository root and type:

git submodule update --init --recursive

How can you help?

Please... Spread the word, contribute algorithms, submit performance improvements, unit tests, no input is too little. Make sure to read our Contribution Guide before opening a PR.

The ImageSharp Team

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (973)

Showing the top 5 NuGet packages that depend on SixLabors.ImageSharp:

Package Downloads
NPOI

.NET port of Apache POI

SixLabors.ImageSharp.Drawing

An extension to ImageSharp that allows the drawing of images, paths, and text.

PdfSharpCore

PdfSharp for .NET Core PdfSharpCore is a partial port of PdfSharp.Xamarin for .NET Core Additionally MigraDoc has been ported as well (from version 1.32). Images have been implemented with ImageSharp from https://www.nuget.org/packages/SixLabors.ImageSharp

SixLabors.ImageSharp.Web

ImageSharp Middleware for serving images via a url based API.

GemBox.Spreadsheet

GemBox.Spreadsheet is a .NET component that enables you to read, write, convert, and print spreadsheet files (XLSX, XLS, XLSB, CSV, HTML, and ODS) from .NET applications. With GemBox.Spreadsheet you get a fast and reliable component that's easy to use and doesn't depend on Microsoft Excel. It requires only .NET and it's much faster than Microsoft Office Automation!

GitHub repositories (279)

Showing the top 20 popular GitHub repositories that depend on SixLabors.ImageSharp:

Repository Stars
DevToys-app/DevToys
A Swiss Army knife for developers.
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
mxgmn/WaveFunctionCollapse
Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
spectreconsole/spectre.console
A .NET library that makes it easier to create beautiful console applications.
gui-cs/Terminal.Gui
Cross Platform Terminal UI toolkit for .NET
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
mxgmn/MarkovJunior
Probabilistic language based on pattern matching and constraint propagation, 153 examples
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
louthy/language-ext
C# pure functional programming framework - come and get declarative!
nissl-lab/npoi
a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
ldqk/Masuit.Tools
全龄段友好的C#万能工具库,码数吐司库,包含一些常用的操作类,大都是静态类,加密解密,反射操作,权重随机筛选算法,分布式短id,表达式树,linq扩展,文件压缩,多线程下载,硬件信息,字符串扩展方法,日期时间扩展操作,中国农历,大文件拷贝,图像裁剪,验证码,断点续传,集合扩展、Excel导出等常用封装。诸多功能集一身,代码量不到2MB!
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
Stability-AI/StableSwarmUI
StableSwarmUI, A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
mgth/LittleBigMouse
DPI Aware mouse move across screens
dotnet/Silk.NET
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
Version Downloads Last updated
3.1.7 963,889 3/6/2025
3.1.6 2,592,128 11/19/2024 3.1.6 has at least one vulnerability with high severity.
3.1.5 8,908,823 7/22/2024 3.1.5 has at least one vulnerability with high severity.
3.1.4 4,606,742 4/11/2024 3.1.4 has at least one vulnerability with high severity.
3.1.3 2,659,234 3/5/2024 3.1.3 has at least one vulnerability with high severity.
3.1.2 1,270,385 1/1/2024 3.1.2 has at least one vulnerability with high severity.
3.1.1 334,429 12/11/2023 3.1.1 has at least one vulnerability with high severity.
3.1.0 686,857 12/1/2023 3.1.0 has at least one vulnerability with high severity.
3.0.2 3,264,335 8/30/2023 3.0.2 has at least one vulnerability with high severity.
3.0.1 4,163,985 3/28/2023 3.0.1 has at least one vulnerability with high severity.
3.0.0 1,639,417 3/1/2023 3.0.0 has at least one vulnerability with high severity.
2.1.10 337,022 3/6/2025
2.1.9 4,263,306 7/22/2024 2.1.9 has at least one vulnerability with high severity.
2.1.8 3,203,552 4/11/2024 2.1.8 has at least one vulnerability with high severity.
2.1.7 3,214,181 3/6/2024 2.1.7 has at least one vulnerability with high severity.
2.1.6 816,146 8/30/2023 2.1.6 has at least one vulnerability with high severity.
2.1.5 1,098,187 8/14/2023 2.1.5 has at least one vulnerability with high severity.
2.1.4 5,562,404 3/28/2023 2.1.4 has at least one vulnerability with high severity.
2.1.3 24,380,458 6/19/2022 2.1.3 has at least one vulnerability with high severity.
2.1.2 3,307,906 5/26/2022 2.1.2 has at least one vulnerability with high severity.
2.1.1 2,796,742 4/21/2022 2.1.1 has at least one vulnerability with high severity.
2.1.0 2,360,175 3/16/2022 2.1.0 has at least one vulnerability with high severity.
2.0.0 6,574,056 2/7/2022 2.0.0 has at least one vulnerability with high severity.
1.0.4 19,925,327 9/28/2021 1.0.4 has at least one vulnerability with high severity.
1.0.3 9,232,449 2/17/2021 1.0.3 has at least one vulnerability with high severity.
1.0.2 3,132,984 11/13/2020 1.0.2 has at least one vulnerability with high severity.
1.0.1 3,335,845 8/21/2020 1.0.1 has at least one vulnerability with high severity.
1.0.0 6,863,611 8/4/2020 1.0.0 has at least one vulnerability with high severity.