pdflib-syntax-images

Official

Embed and draw PNG/JPG images in PDFs.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Embedding and drawing images in pdf-lib PDFs is error-prone when handling formats, coordinate systems, and aspect ratios. This Skill clarifies how to embed PNG and JPG images, preserve transparency when applicable, and render images precisely on pages.

Core Features & Use Cases

  • Embed PNG and JPG images using embedPng and embedJpg.
  • Draw images on pages with correct bottom-left coordinate system and aspect-ratio preservation using drawImage.
  • Embed and render pages from other PDFs as images for complex layouts and previews.

Quick Start

Embed a PNG or JPG with embedPng/embedJpg and draw it on a page with drawImage.

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: pdflib-syntax-images
Download link: https://github.com/OpenAEC-Foundation/pdf-lib-Claude-Skill-Package/archive/main.zip#pdflib-syntax-images

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.