CodeBrix.Imaging.ApacheLicenseForever
1.0.248.1113
dotnet add package CodeBrix.Imaging.ApacheLicenseForever --version 1.0.248.1113
NuGet\Install-Package CodeBrix.Imaging.ApacheLicenseForever -Version 1.0.248.1113
<PackageReference Include="CodeBrix.Imaging.ApacheLicenseForever" Version="1.0.248.1113" />
<PackageVersion Include="CodeBrix.Imaging.ApacheLicenseForever" Version="1.0.248.1113" />
<PackageReference Include="CodeBrix.Imaging.ApacheLicenseForever" />
paket add CodeBrix.Imaging.ApacheLicenseForever --version 1.0.248.1113
#r "nuget: CodeBrix.Imaging.ApacheLicenseForever, 1.0.248.1113"
#:package CodeBrix.Imaging.ApacheLicenseForever@1.0.248.1113
#addin nuget:?package=CodeBrix.Imaging.ApacheLicenseForever&version=1.0.248.1113
#tool nuget:?package=CodeBrix.Imaging.ApacheLicenseForever&version=1.0.248.1113
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.
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
CodeBrix.Imaging is licensed under the Apache License, Version 2.0 - see the LICENSE file.
For licensing and provenance information about the open source code included in this package, see THIRD-PARTY-NOTICES.txt.
| 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 | 191 | 9/5/2026 |
| 1.0.238.393 | 389 | 8/26/2026 |
| 1.0.238.44 | 114 | 8/26/2026 |
| 1.0.233.968 | 104 | 8/21/2026 |
| 1.0.213.41 | 394 | 8/1/2026 |
| 1.0.164.1087 | 443 | 6/13/2026 |
| 1.0.117 | 291 | 4/29/2026 |
| 1.0.100 | 299 | 4/11/2026 |
| 1.0.90 | 152 | 4/2/2026 |
| 1.0.73 | 239 | 3/14/2026 |
| 1.0.72 | 157 | 3/14/2026 |
| 1.0.49 | 176 | 2/27/2026 |
| 1.0.48 | 201 | 2/26/2026 |