Repository navigation
v0.1.0-preview.4
Pre-release
Pre-release
·
497 commits
to main
since this release
Highlights
- Platform image decoders (#372, #373). New
IPlatformImageDecoderseam 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
- ci(blazor): keep PR browser jobs off WebKit from another job's cache (#421) by @michaelstonis in #422
- fix(viewer): a resize keeps a running page jump going (#416) by @michaelstonis in #418
- fix(document): hinted remote files find pages without walking the page tree (#417) by @michaelstonis in #419
- feat(images): platform image decoder seam with an asynchronous prefetch (#372) by @michaelstonis in #423
- ci(docs): host the Blazor demo at /demo/ with the docs (#426) by @michaelstonis in #427
- feat(viewer-blazor): decode JPEG images with the browser's own decoder (#373) by @michaelstonis in #425
- docs: host the Blazor demo at /demo/ on the docs site (#426) by @michaelstonis in #430
- chore(samples): stop packaging tracemonkey.pdf; load it from pdf.js's copy by @michaelstonis in #431
- feat(skia): decode images at the resolution they are drawn in the Skia backend and the MAUI viewer (#428) by @michaelstonis in #429
- feat(webgl): decode images at the resolution they are drawn (#428 part 2/5) by @michaelstonis in #435
- Broadside v0.1.0-preview.4: native image decoders, scaled decode in Skia/WebGL, remote-file fixes by @michaelstonis in #436
Full Changelog: v0.1.0-preview.3...v0.1.0-preview.4