UInk
One ink file,readable anywhere.
UInk is an open file format for digital ink. All the pages of a whiteboard, or all the annotations on a PowerPoint deck, fit in a single .uink file, with multiple pages, multiple screens, images and PDFs all inside. Open it in another app and every stroke is right where you left it.
Universal: one file, opened in different apps
Apps that support different levels show different amounts of detail, but every stroke stays where it was drawn. Pick a level below to see the same page of notes in different readers.
For what each level must implement and how unsupported content is shown, see Levels and Certification and Compatibility and Fallback (in Chinese).
All in one: one whiteboard, one file
A single .uink file can store every page of a whiteboard, or the annotations on every slide of a PowerPoint deck, so the annotations stay with their slides. When you move to another whiteboard page or slide, the app can append just the changed page to the end of the file, without rewriting the whole file.
- One file
.uinkAll pages and strokes - Workspace
WorkspaceWhiteboard, PowerPoint, screen annotation - Page
pageGuidEach whiteboard page, each PowerPoint slide - Screen
DeviceStored separately for each screen - Layer
layerIndexStacked from bottom to top - Content
Ink · Shape · MediaStrokes, shapes, images and PDFs
For the blocks a file is made of and how they are ordered, see Main Ink File (in Chinese).
Apps that use UInk
A Windows screen annotation tool for all kinds of settings.
The community edition of InkCanvasForClass, an annotation and whiteboard app for the classroom.
Start implementing
A minimal reader that can display UInk takes just three steps:
- Read the Header: decode MessagePack objects one by one and check that the first is a Header with version 10–19. See Quick Start · Check the Header.
- Start a new page at each Canvas: each Canvas starts a page, and the content blocks after it belong to that page; if the same page appears more than once, the last one wins. See Quick Start · Build the pages.
- Draw the Ink: draw strokes from the point coordinates and per-point widths, use the
fallbackcolor, and skip erasers. See Quick Start · Draw a page.
Start with the introduction and read page by page (in Chinese).
Decide which level to implement and check it against the checklist.
Check what your reader shows at each level using the sample files.
All specification pages combined into one Markdown file.
When an AI assistant helps you implement UInk, you can give it the single-file spec(Open in new window) or llms.txt(Open in new window).