Table of Contents

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

  • SKBitmap decoding improvements — Bitmaps can now be decoded as a specific format (size/scale, color type) and pixels can be replaced in a variety of ways.
  • SKBitmap Index8 color type support — Better support for the Index8 color type. ❤️ @Tylerflick
  • SKCanvas.QuickReject — Perform a fast bounds check before drawing to avoid unnecessary work.
  • SKCodec incremental decoding — Codecs now support incremental decoding for progressive image loading.
  • GRBackendRenderTargetDesc convenience members — Added Size and Rect properties for easier use.
  • SKColorTable indexer — Access colors directly via an indexer.
  • SKData as streamSKData can 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