Skip to content

v0.1.0-preview.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Oct 22:19
· 497 commits to main since this release
b723d81

Highlights

  • Platform image decoders (#372, #373). New IPlatformImageDecoder seam with an async prefetch and a managed fallback that records a diagnostic. In the Blazor viewer, Chrome/Edge decode JPEG with WebCodecs, bit-identical to the managed decoder. Safari and Firefox use their native decoders only where a startup calibration decode is exact.
  • Scaled decode in Skia and WebGL (#428 parts 1–2). The MAUI viewer and the WebGL renderer draw images at the resolution needed. The browser render worker follows the page's threshold.
  • Remote linearized files (#416, #417). Remote files load their links, outline and tagged structure without the whole file. A resize keeps a page jump going.
  • Live demo: https://michaelstonis.github.io/Broadside/demo/ (try ?renderer=webgl, ?k=1, ?scaled=0, ?worker=0).

New API

IPlatformImageDecoder and related types, PdfOptions.UsePlatformImageDecoder and its switches, PdfDocument.ReadAsync<T>, WebGLRenderer.ScaledImageDecode / ImageSamplesPerPixel, WebGLTileBackend(bool, double), SkiaTileBackend(bool, double), RenderWorker.Open(..., ViewerOptions), UseBrowserImageDecoder().

Known issues

#420, #424, #432, #387, #398, #393. CoreGraphics, Android and Direct2D still decode images at full size (#428).

What's Changed

Full Changelog: v0.1.0-preview.3...v0.1.0-preview.4