pdfstudio-core-pdfjs-pdflib-bridge

Official

Keep PDF rendering and editing perfectly in sync.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Bridge the rendering and editing paths for PDFs by connecting PDF.js and pdf-lib, preventing byte-level desyncs and coordinate mismatches during load and save.

Core Features & Use Cases

  • Dual-parse bridge: PDF.js for rendering and pdf-lib for editing, sharing a single source of truth via an originalBytesCache.
  • Coordinate system alignment: CropBox-based transforms and Y-axis inversion ensure annotation positions are preserved between app and PDF coordinates.
  • Color extraction and form persistence: uses a dedicated bridge to fill in missing color data and to copy AnnotationStorage values into pdf-lib forms.
  • Use Case: when editing or annotating PDFs, this bridge keeps the visible rendering and the edited bytes aligned, reducing corruption risks.

Quick Start

Load a PDF in Open PDF Studio and use the bridge to keep rendering and editing synchronized from load to save.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pdfstudio-core-pdfjs-pdflib-bridge
Download link: https://github.com/OpenAEC-Foundation/Open-PDF-Studio-Claude-Skill-Package/archive/main.zip#pdfstudio-core-pdfjs-pdflib-bridge

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.