CodeBrix.Imaging.ApacheLicenseForever
1.0.238.44
See the version list below for details.
dotnet add package CodeBrix.Imaging.ApacheLicenseForever --version 1.0.238.44
NuGet\Install-Package CodeBrix.Imaging.ApacheLicenseForever -Version 1.0.238.44
<PackageReference Include="CodeBrix.Imaging.ApacheLicenseForever" Version="1.0.238.44" />
<PackageVersion Include="CodeBrix.Imaging.ApacheLicenseForever" Version="1.0.238.44" />
<PackageReference Include="CodeBrix.Imaging.ApacheLicenseForever" />
paket add CodeBrix.Imaging.ApacheLicenseForever --version 1.0.238.44
#r "nuget: CodeBrix.Imaging.ApacheLicenseForever, 1.0.238.44"
#:package CodeBrix.Imaging.ApacheLicenseForever@1.0.238.44
#addin nuget:?package=CodeBrix.Imaging.ApacheLicenseForever&version=1.0.238.44
#tool nuget:?package=CodeBrix.Imaging.ApacheLicenseForever&version=1.0.238.44
CodeBrix.Imaging
A fully managed, cross-platform 2D image processing, font handling and text rendering library for .NET.
CodeBrix.Imaging has no dependencies other than .NET, and is provided as a .NET 10 library and associated CodeBrix.Imaging.ApacheLicenseForever NuGet package.
CodeBrix.Imaging supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.
CodeBrix.Imaging is a fork of the code of the open source SixLabors.ImageSharp and SixLabors.Fonts libraries - see below for licensing details.
Installation
dotnet add package CodeBrix.Imaging.ApacheLicenseForever
Note that the NuGet package ID and the namespace are different - there is no package named plain CodeBrix.Imaging:
- NuGet package ID:
CodeBrix.Imaging.ApacheLicenseForever - Root namespace:
CodeBrix.Imaging- i.e.using CodeBrix.Imaging;
The package has no NuGet dependencies, no native libraries and no platform-specific packages; it depends only on the .NET base class library. XML documentation (IntelliSense) ships alongside the assembly.
CodeBrix.Imaging supports:
- Image formats: BMP, GIF, JPEG, PBM, PNG, TGA, TIFF, WebP
- Image processing: resizing, cropping, rotating, flipping, and more
- Filters: brightness, contrast, saturation, hue, grayscale, sepia, and more
- Effects: Gaussian blur, Bokeh blur, edge detection, and more
- Text rendering directly onto images, with
DrawTextandMeasureText - Font handling: TrueType and OpenType/CFF fonts, variable fonts, colour (COLR/CPAL) fonts, and system fonts
- Image compositing (drawing one image onto another)
- Color spaces and pixel formats
- Image metadata (EXIF, IPTC, XMP)
- Quantization and dithering
- Animated GIF frames
- 8bpp grayscale BMP export (with optional System.Drawing-compatible mode)
- Many more...
CodeBrix.Imaging is a raster imaging and text rasterization library; it does not provide vector shape drawing (there are no DrawLine/DrawPolygon/FillPath/Brush/Pen APIs), SVG or PDF rendering, or GPU-accelerated processing. Compositing and text are the ways to draw onto an image.
Sample Code
Load and Resize an Image
using CodeBrix.Imaging;
using CodeBrix.Imaging.Processing;
using var image = Image.Load("photo.jpg");
image.Mutate(x => x.Resize(800, 600));
image.Save("photo-resized.jpg");
Convert Image Format
using CodeBrix.Imaging;
using var image = Image.Load("photo.bmp");
image.Save("photo.png");
Apply Filters and Effects
using CodeBrix.Imaging;
using CodeBrix.Imaging.Processing;
using var image = Image.Load("photo.jpg");
image.Mutate(x => x
.Grayscale()
.GaussianBlur(3)
.Resize(1024, 768));
image.Save("photo-processed.jpg");
Crop an Image
using CodeBrix.Imaging;
using CodeBrix.Imaging.Processing;
using var image = Image.Load("photo.jpg");
image.Mutate(x => x.Crop(new Rectangle(100, 100, 500, 400)));
image.Save("photo-cropped.jpg");
Draw Text on an Image
using CodeBrix.Imaging;
using CodeBrix.Imaging.Fonts;
using CodeBrix.Imaging.Fonts.Rendering;
using var image = Image.Load("photo.jpg");
var font = SystemFonts.CreateFont("Arial", 36f);
image.DrawText("Hello, world!", font, Color.White, 10f, 10f);
image.Save("photo-with-text.jpg");
Note that DrawText is an extension method on the image itself - not on the Mutate() processing context - and that there is no CodeBrix.Imaging.Drawing namespace.
Export as 8bpp Grayscale BMP
using CodeBrix.Imaging;
using CodeBrix.Imaging.Helpers;
using var image = Image.Load("photo.jpg");
await using var fs = new FileStream("grayscale-8bpp.bmp", FileMode.Create);
await image.ExportAs8bppGrayscaleBmpFormatAsync(fs);
Documentation
The NuGet package includes AGENT-README.txt, a complete API reference and usage guide written for AI coding agents - point your agent at that file when it is writing code against this library.
Additional sample code and usage examples are available in the CodeBrix.Imaging.Tests project:
https://github.com/ellisnet/CodeBrix.Imaging/tree/main/tests/CodeBrix.Imaging.Tests
License
The project is licensed under the Apache License 2.0. see: https://en.wikipedia.org/wiki/Apache_License
All code originating from SixLabors.ImageSharp was included as allowed by the Apache License 2.0 permissible open source software license. The included code corresponds to SixLabors.ImageSharp v2.1.13 (released Nov 25, 2025), the most recent release of the Apache-2.0-licensed 2.1.x line. This project (CodeBrix.Imaging) complies with all provisions of the source code license of SixLabors.ImageSharp v2.1.13 (Apache License 2.0).
All code originating from SixLabors.Fonts was included as allowed by the Apache License 2.0 permissible open source software license - as of Jul 22, 2022. The included code corresponds to SixLabors.Fonts v1.0.0-beta18 (released Jul 2, 2022). This project (CodeBrix.Imaging) complies with all provisions of the source code license of SixLabors.Fonts v1.0.0-beta18 (Apache License 2.0).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on CodeBrix.Imaging.ApacheLicenseForever:
| Package | Downloads |
|---|---|
|
FreePPlus.LgplLicenseForever
Create advanced Excel spreadsheets using .NET, without the need of interop. FreePPlus is a .NET library that reads and writes Excel files using the Office Open XML format (xlsx). |
|
|
CodeBrix.PdfDocuments.MitLicenseForever
CodeBrix.PdfDocuments is an Open Source .NET 10 (and higher) library that creates, reads, merges and encrypts PDF documents, and draws text, images, shapes, gradients and transparency groups onto a page at exact coordinates. Pure managed code, with no native dependencies. |
|
|
CodeBrix.PdfRasterizer.MitLicenseForever
CodeBrix.PdfRasterizer is an Open Source .NET 10 (and higher) library that renders PDF pages to images (PNG, JPEG, BMP, GIF, TIFF) using the PDFium native rendering engine, with support for thumbnails, page information, and cross-platform operation (Windows, macOS, Linux, Android). |
|
|
CodeBrix.Imaging.Drawing.ApacheLicenseForever
A stroke-based drawing, painting, and highlighting library that requires SkiaSharp. It captures pointer input as calibrated strokes on named, colored layers, and composites them over an image - or over live content such as a video feed - with a translucent highlighter effect, then exports the result as PNG or JPEG. If you can't or don't want a native SkiaSharp dependency, use the fully managed CodeBrix.Imaging.Drawing.NoSkia package instead; both offer the same API. Never reference both packages in the same project - they define the same types under the same namespace and will conflict. |
|
|
CodeBrix.Imaging.Drawing.NoSkia.ApacheLicenseForever
A fully managed 2D drawing library with no native dependencies of any kind - everything renders in pure managed code. Provides the same drawing, painting, and highlighting API as CodeBrix.Imaging.Drawing, plus SVG rendering, working directly on in-memory pixel data. Use this instead of CodeBrix.Imaging.Drawing when you can't or don't want to bring in SkiaSharp or any other native graphics library. Never reference both packages in the same project - they define the same types under the same namespace and will conflict. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.248.1113 | 250 | 9/5/2026 |
| 1.0.238.393 | 397 | 8/26/2026 |
| 1.0.238.44 | 117 | 8/26/2026 |
| 1.0.233.968 | 109 | 8/21/2026 |
| 1.0.213.41 | 398 | 8/1/2026 |
| 1.0.164.1087 | 446 | 6/13/2026 |
| 1.0.117 | 292 | 4/29/2026 |
| 1.0.100 | 301 | 4/11/2026 |
| 1.0.90 | 154 | 4/2/2026 |
| 1.0.73 | 241 | 3/14/2026 |
| 1.0.72 | 160 | 3/14/2026 |
| 1.0.49 | 178 | 2/27/2026 |
| 1.0.48 | 204 | 2/26/2026 |