Skip to content
AI.Tedt.orgAI Library
All Assets
Agent Skillactive

Semantic PDF Image Extractor

Extract meaningful photos, diagrams, charts, maps, screenshots, and other visual evidence from PDFs with context, provenance, quality checks, and duplicate detection.

Version 1.0.0

About This Asset

Semantic PDF Image Extractor

Use this skill to build a traceable visual inventory from one or more PDFs. Unlike object-level PDF extraction, it first interprets rendered pages and then selects coherent, meaningful visual regions. This supports flattened scans, vector diagrams, mixed layouts, full-page posters, and PDFs with embedded images.

What it produces

  • Full-page PNG evidence for every processed page
  • Clean asset crops and optional context crops
  • Classification of photos, diagrams, charts, maps, screenshots, illustrations, table images, composites, and other visual types
  • Captions, visible labels, descriptions, keywords, checksums, source coordinates, and quality indicators
  • Exact and near-duplicate suggestions with occurrence tracking
  • A normalized manifest, review summary, diagnostics, and validated ZIP archive

The default meaningful mode excludes decorative content. Other modes can focus on photos, diagrams, charts, all nontrivial visuals, or custom filters.

Requirements

The skill can use native PDF and image capabilities supplied by the agent runtime. Its optional helper requires Python 3.10 or later. Rendering and cropping require pypdfium2 and Pillow; manifest validation and packaging do not.

Install the optional libraries with:

python -m pip install pypdfium2 Pillow

Example requests

  • Extract all meaningful images from these PDFs and preserve their captions and page context.
  • Build a deduplicated inventory of diagrams and charts from this document set.
  • Extract photos only and package them with factual descriptions and source references.

Privacy

Source documents and extracted images stay within approved runtime storage. The skill instructs the agent not to publish files, use unapproved external services, expose hidden metadata, or include unrelated personal data.

Continue Exploring
Browse the Full Library

Rate and Discuss This Agent Skill

Microsoft upstream and AI.Tedt.org remain separate communities. Discovery totals combine their responses, but each discussion stays with its source.

Combined Response
▲ 00 comments

Source totals are added. They do not represent unique people.

Microsoft Upstream
▲ 00 comments
89 repository stars
AI.Tedt.org
▲ 00 comments
0 repository stars

AI.Tedt.org Discussion

Open on GitHub

Microsoft Upstream Discussion

Open on GitHub