GitHub - SixLabors/ImageSharp: A modern, cross-platform, 2D Graphics library for .NET

GitHub

ImageSharp is a high-performance, fully managed, cross-platform 2D graphics API.

ImageSharp is a mature, fully featured, high-performance image processing and graphics library for .NET, built for workloads across device, cloud, and embedded/IoT scenarios.

Designed from the ground up to balance performance, portability, and ease of use, ImageSharp provides a powerful yet approachable API for common image processing tasks, along with the low-level building blocks needed to extend the library for specialized workflows.

Built against

.NET 8

, ImageSharp can be used in device, cloud, and embedded/IoT scenarios.

License

ImageSharp is licensed under the

Six Labors Split License, Version 1.0

Support Six Labors

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

Purchase a Commercial License ❤️

Become a sponsor via GitHub Sponsors ❤️

Become a sponsor via Open Collective ❤️

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

Do you have questions? Please

join our Discussions Forum

. Do not open issues for questions.

For feature ideas please

join our Discussions Forum

and we'll be happy to discuss.

Please read our

Contribution Guide

before opening issues or pull requests!

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 NameRelease (NuGet)Nightly (Feedz.io)SixLabors.ImageSharp

Manual build

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

Using

Visual Studio 2022

Make sure you have the latest version installed

Make sure you have

the .NET 8 SDK

installed

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

Visual Studio Code

with

C# Extension

.NET Core

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

git clone https://github.com/SixLabors/ImageSharpThen set the following config to ensure blame commands ignore mass reformatting commits.

git config blame.ignoreRevsFile .git-blame-ignore-revsIf working with Windows please ensure that you have enabled long file paths in git (run as Administrator).

git config --system core.longpaths trueThis 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 --recursiveHow 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.

Useful tools for development and links to specifications can be found in our wikipage:

Useful-tools-and-links

.

The ImageSharp Team

James Jackson-South

Dirk Lemstra

Anton Firsov

Scott Williams

Brian Popow

———

JetBrains
JetBrains

Special thanks to

JetBrains

for supporting us with open-source licenses for their IDEs.