Blog Post

PSPDFKit for Web 2018.5

We’re excited to announce the newest set of features that make up our PSPDFKit for Web 2018.5 release: image annotations to place arbitrary images on a PDF page, two new sidebar modes — one to show the table of contents (document outlines) of a PDF and one that lists all annotations, a new option to create annotation variants with the ink highlighter and arrow tools enabled by default, and a lot more! Please refer to our Server and Web changelogs for a complete list of features and bug fixes.

To update your application, make sure to check out our 2018.5 Migration Guide.

Image Annotations

With image annotations, we’re adding another powerful annotation tool to PSPDFKit for Web. With one click or tap, you can now easily add JPEG, PNG, and PDF images to a PDF.

Like all our annotation options, this feature is fully accessible via our client and server APIs, as well as with PSPDFKit Instant and Instant JSON. Our iOS and Android clients will receive support for Instant images in the next version (Instant JSON is already supported).

Table of Contents and Annotation Sidebar

In addition to the thumbnail view, the sidebar was updated to add support for showing both the table of contents (PDF document outline) and an annotation list.

The table of contents data can also be accessed via client and server APIs.

Annotation Variants: Ink Highlighter and Arrow Tools

Similar to what we did with our other platforms, we’re adding support for annotation variants. Variants are custom toolbar buttons that can be used to create annotations with different presets. The most common use cases are the ink highlighter and arrow tools, and we’re thrilled to include these in the new version of PSPDFKit for Web.

In addition to variants, we’re also adding new client APIs to allow the customization of annotation presets. With this API, we’ve also changed the default behavior to persist the last known annotation properties for every individual annotation tool. We’ve also added an API to allow you to save those changes and restore the same changes after a full browser refresh.

Vertical Text Annotation Alignment

Sometimes text needs to be laid out vertically as well. To support this, we’re adding the option to vertically align text annotations.

WebAssembly Performance in V8

We’re super excited to see browser vendors using our WebAssembly Benchmark to improve their products. Just a few days ago, Google released Liftoff, a new baseline compiler for WebAssembly in V8. Check out the release blog post, which includes a section for PSPDFKit, showing a 56%+ faster initialization time.


In addition to the Google update, we also have exciting news from the WebAssembly team at Microsoft that worked with us to achieve an impressive 2.25x speedup in our WebAssembly benchmark. We’ve updated our blog post with more details.

Updated WebAssembly benchmark score. Edge 42: 11751, Edge 44: 5207. This shows a 2.25x speedup.

Along with all the new features, this release also includes a number of bug fixes and minor improvements. For a complete list of changes, see the PSPDFKit for Web 2018.5 and PSPDFKit Server 2018.5 changelogs.

Share Post
Free 60-Day Trial Try PSPDFKit in your app today.
Free Trial

Related Articles

Explore more
DEVELOPMENT  |  Web • Tips

Immutable.js and Lazy Evaluation

DEVELOPMENT  |  Web • JavaScript • Tips

An Introduction to Stimulus.js

PRODUCTS  |  Web • Releases

PSPDFKit for Web 2018.4