SkiaSharp 4.154.0-preview.2.26471.11

SkiaSharp

NuGet NuGet downloads License: MIT

SkiaSharp is a cross-platform 2D graphics API for .NET powered by Google's Skia graphics engine. Draw vector graphics, render text, process images, apply shaders and filters, and produce consistent output across mobile, desktop, server, and WebAssembly applications.

What you can build

  • Rich 2D graphics - paths, shapes, text, images, color spaces, shaders, filters, blend modes, and more.
  • Cross-platform - Windows, macOS, Linux, Android, iOS, Mac Catalyst, tvOS, Tizen, and WebAssembly.
  • CPU and GPU rendering - software rasterization plus OpenGL, Metal, Vulkan, and Direct3D integrations.
  • Broad output support - render to pixels, encode common image formats, create PDFs, or generate SVG.
  • Native performance with an idiomatic C# API - the same Skia engine used by Chrome, Android, Flutter, and many other products.
  • Open source - developed in the open by Microsoft and the .NET community under the MIT license.

Get started

Install the package:

dotnet add package SkiaSharp

Create an image and save it as a PNG:

using SkiaSharp;

var info = new SKImageInfo(640, 360);
using var surface = SKSurface.Create(info);
var canvas = surface.Canvas;

canvas.Clear(new SKColor(0x0B, 0x10, 0x20));

using var shader = SKShader.CreateLinearGradient(
    new SKPoint(0, 0),
    new SKPoint(info.Width, info.Height),
    new[] { new SKColor(0x44, 0x88, 0xFF), new SKColor(0xB8, 0x44, 0xE8) },
    SKShaderTileMode.Clamp);
using var paint = new SKPaint
{
    IsAntialias = true,
    Shader = shader,
};

canvas.DrawCircle(info.Width / 2f, info.Height / 2f, 120, paint);

using var image = surface.Snapshot();
using var data = image.Encode(SKEncodedImageFormat.Png, 100);
using var output = File.Create("hello-skiasharp.png");
data.SaveTo(output);

Linux: add SkiaSharp.NativeAssets.Linux to the application project for fontconfig integration, or SkiaSharp.NativeAssets.Linux.NoDependencies for minimal containers and explicit font loading. See the package deployment guide for details.

Choose the right integration

Scenario Package
Draw into bitmaps, images, surfaces, PDFs, and SVG SkiaSharp
.NET MAUI controls SkiaSharp.Views.Maui.Controls
Blazor WebAssembly components SkiaSharp.Views.Blazor
Android, iOS, Mac Catalyst, macOS, tvOS, and Tizen native views SkiaSharp.Views
WPF, Windows Forms, WinUI, or GTK controls Use the matching SkiaSharp.Views.* package
Complex text shaping SkiaSharp.HarfBuzz
Lottie animation playback SkiaSharp.Skottie

Learn and explore

Feedback and contributing

SkiaSharp is built in the open. Use GitHub Discussions for questions, file bugs and feature requests in the issue tracker, and read the contributing guide to help improve the project.

SkiaSharp is released under the MIT license.

Showing the top 20 packages that depend on SkiaSharp.

Packages Downloads
SkiaSharp.HarfBuzz
This package adds text shaping support to SkiaSharp via HarfBuzz.
641
Syncfusion.MetafileRenderer.Net.Core
The Metafile Renderer is a .NET library used by Syncfusion® Document Processing Libraries for converting the Metafile (EMF and WMF) to SKBitmap image in any .NET Core applications.
502
Syncfusion.SfPdfViewer.AspNet.Core
Syncfusion® Pdf Viewer for Essential JS 2 Asp.Net Core Windows is a .NET class library for converting PDF document into images and extracting PDF documents for Windows platform.
501
Syncfusion.Pdf.Imaging.Net.Core
Syncfusion® Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET Core applications. Key features: • Supports drawing JPEG, PNG, GIF, BMP, and TIFF images to PDF document. Learn more: https://www.syncfusion.com/pdf-framework/net-core Documentation: http://help.syncfusion.com/file-formats/pdf/ Support: Incident: https://www.syncfusion.com/support/directtrac/incidents/newincident Forums: https://www.syncfusion.com/forums/windowsforms This is a commercial product and requires a paid license for possession or use. The Syncfusion® licensed software, including this component, is subject to the terms and conditions of the Syncfusion® EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials). © Copyright 2019 Syncfusion®, Inc. All Rights Reserved. The Syncfusion Essential Studio® license and copyright applies to this distribution.
494
Syncfusion.MetafileRenderer.Net.Core
The Metafile Renderer is a .NET library used by Syncfusion® Document Processing Libraries for converting the Metafile (EMF and WMF) to SKBitmap image in any .NET Core applications.
88
Syncfusion.SfPdfViewer.AspNet.Core
Syncfusion® Pdf Viewer for Essential JS 2 Asp.Net Core Windows is a .NET class library for converting PDF document into images and extracting PDF documents for Windows platform.
86
Syncfusion.Pdf.Imaging.Net.Core
Syncfusion® Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET Core applications. Key features: • Supports drawing JPEG, PNG, GIF, BMP, and TIFF images to PDF document. Learn more: https://www.syncfusion.com/pdf-framework/net-core Documentation: http://help.syncfusion.com/file-formats/pdf/ Support: Incident: https://www.syncfusion.com/support/directtrac/incidents/newincident Forums: https://www.syncfusion.com/forums/windowsforms This is a commercial product and requires a paid license for possession or use. The Syncfusion® licensed software, including this component, is subject to the terms and conditions of the Syncfusion® EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials). © Copyright 2019 Syncfusion®, Inc. All Rights Reserved. The Syncfusion Essential Studio® license and copyright applies to this distribution.
83
SkiaSharp.HarfBuzz
This package adds text shaping support to SkiaSharp via HarfBuzz.
78
Syncfusion.SfPdfViewer.AspNet.Core
Syncfusion® Pdf Viewer for Essential JS 2 Asp.Net Core Windows is a .NET class library for converting PDF document into images and extracting PDF documents for Windows platform.
77
Syncfusion.MetafileRenderer.Net.Core
The Metafile Renderer is a .NET library used by Syncfusion® Document Processing Libraries for converting the Metafile (EMF and WMF) to SKBitmap image in any .NET Core applications.
77
Syncfusion.Pdf.Imaging.Net.Core
Syncfusion® Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET Core applications. Key features: • Supports drawing JPEG, PNG, GIF, BMP, and TIFF images to PDF document. Learn more: https://www.syncfusion.com/pdf-framework/net-core Documentation: http://help.syncfusion.com/file-formats/pdf/ Support: Incident: https://www.syncfusion.com/support/directtrac/incidents/newincident Forums: https://www.syncfusion.com/forums/windowsforms This is a commercial product and requires a paid license for possession or use. The Syncfusion® licensed software, including this component, is subject to the terms and conditions of the Syncfusion® EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials). © Copyright 2019 Syncfusion®, Inc. All Rights Reserved. The Syncfusion Essential Studio® license and copyright applies to this distribution.
73
Syncfusion.MetafileRenderer.Net.Core
The Metafile Renderer is a .NET library used by Syncfusion® Document Processing Libraries for converting the Metafile (EMF and WMF) to SKBitmap image in any .NET Core applications.
39
Syncfusion.MetafileRenderer.Net.Core
The Metafile Renderer is a .NET library used by Syncfusion® Document Processing Libraries for converting the Metafile (EMF and WMF) to SKBitmap image in any .NET Core applications.
38
Syncfusion.SfPdfViewer.AspNet.Core
Syncfusion® Pdf Viewer for Essential JS 2 Asp.Net Core Windows is a .NET class library for converting PDF document into images and extracting PDF documents for Windows platform.
37
Syncfusion.Pdf.Imaging.Net.Core
Syncfusion® Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET Core applications. Key features: • Supports drawing JPEG, PNG, GIF, BMP, and TIFF images to PDF document. Learn more: https://www.syncfusion.com/pdf-framework/net-core Documentation: http://help.syncfusion.com/file-formats/pdf/ Support: Incident: https://www.syncfusion.com/support/directtrac/incidents/newincident Forums: https://www.syncfusion.com/forums/windowsforms This is a commercial product and requires a paid license for possession or use. The Syncfusion® licensed software, including this component, is subject to the terms and conditions of the Syncfusion® EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials). © Copyright 2019 Syncfusion®, Inc. All Rights Reserved. The Syncfusion Essential Studio® license and copyright applies to this distribution.
35
Syncfusion.MetafileRenderer.Net.Core
The Metafile Renderer is a .NET library used by Syncfusion® Document Processing Libraries for converting the Metafile (EMF and WMF) to SKBitmap image in any .NET Core applications.
35
Syncfusion.Pdf.Imaging.Net.Core
Syncfusion® Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET Core applications. Key features: • Supports drawing JPEG, PNG, GIF, BMP, and TIFF images to PDF document. Learn more: https://www.syncfusion.com/pdf-framework/net-core Documentation: http://help.syncfusion.com/file-formats/pdf/ Support: Incident: https://www.syncfusion.com/support/directtrac/incidents/newincident Forums: https://www.syncfusion.com/forums/windowsforms This is a commercial product and requires a paid license for possession or use. The Syncfusion® licensed software, including this component, is subject to the terms and conditions of the Syncfusion® EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials). © Copyright 2019 Syncfusion®, Inc. All Rights Reserved. The Syncfusion Essential Studio® license and copyright applies to this distribution.
34
Syncfusion.SfPdfViewer.AspNet.Core
Syncfusion® Pdf Viewer for Essential JS 2 Asp.Net Core Windows is a .NET class library for converting PDF document into images and extracting PDF documents for Windows platform.
34
Syncfusion.Pdf.Imaging.Net.Core
Syncfusion® Essential PDF Imaging is a .NET standard PDF library used to draw the image files to PDF in any .NET Core applications. Key features: • Supports drawing JPEG, PNG, GIF, BMP, and TIFF images to PDF document. Learn more: https://www.syncfusion.com/pdf-framework/net-core Documentation: http://help.syncfusion.com/file-formats/pdf/ Support: Incident: https://www.syncfusion.com/support/directtrac/incidents/newincident Forums: https://www.syncfusion.com/forums/windowsforms This is a commercial product and requires a paid license for possession or use. The Syncfusion® licensed software, including this component, is subject to the terms and conditions of the Syncfusion® EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials). © Copyright 2019 Syncfusion®, Inc. All Rights Reserved. The Syncfusion Essential Studio® license and copyright applies to this distribution.
33

Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET Framework 4.6.2

.NET Framework 4.8

.NET 6.0

.NET 6.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET Standard 2.0

.NET Standard 2.1

Version Downloads Last updated
4.155.0-preview.2.26479.13 1 10/02/2026
4.155.0-preview.1.26471.14 1 10/02/2026
4.154.0-rc.1.26479.14 1 10/02/2026
4.154.0-preview.2.26471.11 1 10/02/2026
4.154.0-preview.1.26454.9 1 10/02/2026
4.153.1 1 10/02/2026
4.153.0 1 10/02/2026
4.153.0-rc.1.26456.2 1 10/02/2026
4.153.0-preview.1.26454.6 1 10/02/2026
4.152.3 1 10/02/2026
4.152.2 1 10/02/2026
4.152.1 1 10/02/2026
4.152.0 1 10/02/2026
4.152.0-rc.1.26426.14 2 09/01/2026
4.152.0-preview.1.1 2 09/01/2026
4.151.5 1 10/02/2026
4.151.4 1 10/02/2026
4.151.3 1 10/02/2026
4.151.2 1 10/02/2026
4.151.1 2 08/31/2026
4.151.0 3 08/03/2026
4.151.0-rc.1.1 3 08/03/2026
4.151.0-preview.2.1 4 07/21/2026
4.151.0-preview.1.1 4 07/12/2026
4.150.5 1 10/02/2026
4.150.4 1 10/02/2026
4.150.3 1 10/02/2026
4.150.2 2 08/31/2026
4.150.1 4 07/20/2026
4.150.0 4 07/12/2026
4.150.0-rc.1.1 5 07/02/2026
4.150.0-preview.2.1 5 07/02/2026
4.150.0-preview.1.1 6 06/15/2026
4.148.0 5 06/24/2026
4.148.0-rc.1.2 6 06/14/2026
4.147.0-preview.3.1 6 05/26/2026
4.147.0-preview.2.1 7 05/14/2026
4.147.0-preview.1.1 9 04/29/2026
3.119.4 8 05/26/2026
3.119.4-preview.1.1 9 04/26/2026
3.119.3-preview.1.1 11 02/19/2026
3.119.2 13 02/09/2026
3.119.2-preview.3.1 11 02/09/2026
3.119.2-preview.2.3 12 02/02/2026
3.119.2-preview.1 11 01/21/2026
3.119.1 643 12/09/2025
3.119.1-preview.1 12 12/12/2025
3.119.0 13 12/09/2025
3.119.0-stable.1 13 12/09/2025
3.119.0-preview.1.2 13 12/09/2025
3.118.0-preview.2.3 12 12/14/2025
3.118.0-preview.1.2 12 12/14/2025
3.116.1 82 12/09/2025
3.116.0 14 12/09/2025
3.116.0-preview.6.1 12 12/14/2025
3.0.0-preview.5.4 0 10/24/2024
3.0.0-preview.4.1 0 07/18/2024
3.0.0-preview.3.1 0 04/10/2024
3.0.0-preview.2.1 0 02/20/2024
3.0.0-preview.1.8 13 12/09/2025
3.0.0-preview.0.132 14 12/10/2025
2.88.9 12 12/09/2025
2.88.9-preview.2.2 12 12/09/2025
2.88.9-preview.1.1 12 12/09/2025
2.88.8 13 12/14/2025
2.88.8-preview.1.1 12 12/09/2025
2.88.7 14 12/09/2025
2.88.6 13 12/09/2025
2.88.6-preview.1.2 11 01/21/2026
2.88.5 13 12/09/2025
2.88.4 13 12/09/2025
2.88.4-preview.96 14 12/09/2025
2.88.4-preview.95 13 12/09/2025
2.88.4-preview.89 0 07/25/2023
2.88.4-preview.84 0 06/27/2023
2.88.4-preview.82 0 06/26/2023
2.88.4-preview.76 0 06/19/2023
2.88.4-preview.70 0 06/15/2023
2.88.3 13 12/10/2025
2.88.2 12 12/14/2025
2.88.2-preview.8 13 12/09/2025
2.88.1 13 12/09/2025
2.88.1-preview.108 12 01/21/2026
2.88.1-preview.104 12 12/12/2025
2.88.1-preview.91 0 07/15/2022
2.88.1-preview.79 0 06/29/2022
2.88.1-preview.75 0 06/27/2022
2.88.1-preview.71 0 06/20/2022
2.88.1-preview.63 0 06/08/2022
2.88.1-preview.1 0 05/22/2022
2.88.0 13 12/09/2025
2.88.0-preview.266 12 01/21/2026
2.88.0-preview.256 12 12/12/2025
2.88.0-preview.254 0 04/17/2022
2.88.0-preview.232 0 03/17/2022
2.88.0-preview.209 0 02/18/2022
2.88.0-preview.187 0 01/27/2022
2.88.0-preview.179 0 12/18/2021
2.88.0-preview.178 0 12/15/2021
2.88.0-preview.155 0 10/29/2021
2.88.0-preview.152 0 10/22/2021
2.88.0-preview.150 0 10/11/2021
2.88.0-preview.145 0 09/28/2021
2.88.0-preview.140 0 09/14/2021
2.88.0-preview.139 0 09/13/2021
2.88.0-preview.127 0 08/21/2021
2.88.0-preview.120 0 08/10/2021
2.88.0-preview.61 0 07/12/2021
2.80.4 13 12/09/2025
2.80.4-preview.9 14 12/10/2025
2.80.4-preview.6 15 12/09/2025
2.80.4-preview.5 0 09/13/2021
2.80.4-preview.2 0 08/19/2021
2.80.3 13 12/09/2025
2.80.3-preview.93 12 12/09/2025
2.80.3-preview.90 12 12/12/2025
2.80.3-preview.40 0 02/06/2021
2.80.3-preview.24 0 01/27/2021
2.80.3-preview.18 0 11/10/2020
2.80.2 13 12/09/2025
2.80.2-preview.36 13 12/12/2025
2.80.2-preview.33 11 01/21/2026
2.80.2-preview.19 0 08/04/2020
2.80.2-preview.18 0 08/02/2020
2.80.2-preview.9 0 07/27/2020
2.80.1 14 12/09/2025
2.80.0 14 12/09/2025
2.80.0-preview.33 13 12/09/2025
2.80.0-preview.24 11 01/21/2026
2.80.0-preview.14 0 06/18/2020
2.80.0-preview.12 0 06/16/2020
2.80.0-preview.3 0 06/08/2020
1.68.3 12 12/09/2025
1.68.3-preview.2 12 12/09/2025
1.68.2.1 11 01/21/2026
1.68.2 13 12/09/2025
1.68.2-preview.60 11 01/21/2026
1.68.2-preview.50 11 01/21/2026
1.68.2-preview.45 0 03/24/2020
1.68.2-preview.43 0 03/18/2020
1.68.2-preview.39 0 02/27/2020
1.68.2-preview.29 0 02/07/2020
1.68.2-preview.21 0 01/20/2020
1.68.2-preview.17 0 01/11/2020
1.68.1.1 14 12/09/2025
1.68.1.1-preview.9 11 01/21/2026
1.68.1 14 12/09/2025
1.68.1-rc.172 11 01/21/2026
1.68.1-rc.170 11 01/21/2026
1.68.1-rc.169 0 11/14/2019
1.68.1-rc.165 0 11/07/2019
1.68.1-rc.153 0 10/24/2019
1.68.1-rc.147 0 09/26/2019
1.68.0 13 12/09/2025
1.68.0-preview28 12 12/09/2025
1.60.3 13 12/09/2025
1.60.2 0 06/28/2018
1.60.1 14 12/09/2025
1.60.0 14 12/09/2025
1.59.3 13 12/09/2025
1.59.2 15 12/09/2025
1.59.1 13 12/09/2025
1.59.0 14 12/09/2025
1.58.1 15 12/09/2025
1.58.0 13 12/09/2025
1.57.1 14 12/09/2025
1.57.0 14 12/09/2025
1.56.2 13 12/09/2025
1.56.1 13 12/09/2025
1.56.1-beta 12 12/09/2025
1.56.0 14 12/09/2025
1.55.1 12 12/14/2025
1.55.0 15 12/09/2025
1.54.1 13 12/11/2025
1.54.0 13 12/09/2025
1.53.2-svg1 1 08/31/2026
1.53.2-gpu2 0 08/24/2016
1.53.2-gpu1 1 08/31/2026
1.53.1.2 11 01/21/2026
1.53.1.1 12 01/21/2026
1.53.1 13 12/10/2025
1.53.0 13 12/09/2025
1.49.4-beta 12 12/09/2025
1.49.3-beta 12 12/10/2025
1.49.2.1-beta 12 12/10/2025
1.49.2-beta 15 12/10/2025
1.49.1 12 12/09/2025
1.49.0-preview1 14 12/09/2025