Version 1.55.1
Bitmap, codec, and platform fixes · Released November 21, 2016 · NuGet · GitHub Release
Highlights
A patch release with improvements to SKBitmap (format-specific decoding, pixel replacement, better Index8 support), incremental decoding for SKCodec, QuickReject for SKCanvas, and a fix for the Windows Mobile emulator and Xbox One. Views now support ignoring device scaling, and SVG gains custom canvas sizing.
Breaking Changes
None in this release.
New Features
API Surface
SKBitmapdecoding improvements — Bitmaps can now be decoded as a specific format (size/scale, color type) and pixels can be replaced in a variety of ways.SKBitmapIndex8color type support — Better support for theIndex8color type. ❤️ @TylerflickSKCanvas.QuickReject— Perform a fast bounds check before drawing to avoid unnecessary work.SKCodecincremental decoding — Codecs now support incremental decoding for progressive image loading.GRBackendRenderTargetDescconvenience members — AddedSizeandRectproperties for easier use.SKColorTableindexer — Access colors directly via an indexer.SKDataas stream —SKDatacan now be used as a stream, which manages the lifetime of the underlying data.
Platform
- Views ignore device scaling option — All raster-based views (SkiaSharp.Views and SkiaSharp.Views.Forms) now have an option to ignore device scaling.
- SVG custom canvas sizing — SVG files can be loaded onto a canvas of a pre-defined size, ignoring the drawing size in the SVG file or handling files without a size set.
Bug Fixes
- Fixed SkiaSharp for Windows Mobile emulator and Xbox One.
Platform Support
| Platform | What's New |
|---|---|
| 🪟 Windows | Fixed Windows Mobile emulator and Xbox One support |
Community Contributors ❤️
| Contributor | What They Did |
|---|---|
| @Tylerflick | Improved Index8 color type support in SKBitmap |