paper-image-extractor

Extract figures from papers using arXiv source packages with PDF fallback.

708|51|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/LigphiDonk/Oh-my--paper --skill paper-image-extractor-ligphidonk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-image-extractor
Source: https://github.com/LigphiDonk/Oh-my--paper/tree/main/src-tauri/resources/skills/paper-image-extractor
Command: npx skills add https://github.com/LigphiDonk/Oh-my--paper --skill paper-image-extractor-ligphidonk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyMuPDF, requests, and includes scripts (resource) components.

What problem does it solve?

Extract figures from papers while prioritizing arXiv source packages to preserve high-quality original images. The workflow also provides a reliable fallback by extracting figures from PDFs when sources are unavailable and outputs an index of results for traceability.

Core Features & Use Cases

  • ArXiv-source-first extraction: locate and copy image files from common image directories in arXiv source packages (pics/, figures/, fig, images/, img).
  • PDF fallback: extract embedded images from PDFs when sources are unavailable.
  • Output indexing: generate an index.md with image metadata and source labels.

Quick Start

Run the paper-image-extractor script with an arXiv ID or a local PDF to start extracting figures.

Frequently Asked Questions about paper-image-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract original high-quality figures from an arXiv paper?

You can extract original figures by prioritizing arXiv source packages to locate and copy high-quality image files from directories like pics/ or figures/. This approach preserves the original image quality directly from the author's files.

Can I extract images from a research paper PDF if the arXiv source is unavailable?

Yes, you can extract images from a research paper PDF using a reliable fallback mechanism. When arXiv source packages are unavailable, the extraction workflow falls back to parsing the PDF to retrieve embedded figures.

Does extracting figures from arXiv sources require PyMuPDF and Python 3.8?

Yes, extracting figures from arXiv sources requires Python 3.8+ and the PyMuPDF library. The deterministic scripts also require network access to arXiv to download source packages and perform PDF fallback extraction.

What is the best way to organize extracted figures for traceability in a research workflow?

The best way to ensure traceability is to generate an index.md file containing image metadata and source labels. This output indexing maps each extracted figure to its origin, whether from arXiv source directories or PDF fallback.

What directories does the arXiv source extraction check for paper images?

The arXiv source extraction checks common image directories within the source package, specifically targeting pics/, figures/, fig, images/, and img. Locating these directories allows the script to copy high-quality original images.