MapLarge / SkiaSharpVisualizer

A Visual Studio debugger extension for viewing SkiaSharp bitmaps and images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SkiaSharpVisualizer

A Visual Studio debugger extension for viewing SkiaSharp bitmaps and images.

Building

Designed for Visual Studio 2022, simply update to at least 17.9 and install the "Visual Studio extension development" workload. There are no external requirements beyond the SkiaSharp nuget package and Visual Studio SDK. After building the solution, run the generated .vsix file to install.

How to Use

The extension adds a new UI item to view SkiaSharp SKBitmap, SKImage, and SKSurface objects. image

When viewing, you will see a tool window containing a graphical preview of the image. image

The stretch option will make the image fill the entire dialog space. image

The bordered option will add an indicator border around the image so you can figure out the boundary of an image with transparency. image

The "Open in External Viewer" button will launch the default viewer for PNG files. image

Contributing

PRs and suggestions are welcome, or you can fork this project and make your own enhancements.

About

A Visual Studio debugger extension for viewing SkiaSharp bitmaps and images.

License:MIT License


Languages

Language:C# 100.0%