cropfig

Convert Keynote or PowerPoint slides into cropped PDF and PNG figure assets.

30|8|Updated May 10, 2026
One-click install
npx skills add https://github.com/youngeun1209/oh-my-claudecode-research --skill cropfig
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cropfig
Source: https://github.com/youngeun1209/oh-my-claudecode-research/tree/main/skills/cropfig
Command: npx skills add https://github.com/youngeun1209/oh-my-claudecode-research --skill cropfig

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, numpy.

What problem does it solve?

Manually cropping figures from Keynote or PowerPoint slides, exporting them to both vector PDFs for LaTeX manuscripts and raster PNGs for outlines, and embedding them in the correct locations is time-consuming and prone to format drift between the two output types.

Core Features & Use Cases

  • 3-Step Automated Pipeline: Exports .key/.pptx decks to per-slide vector PDFs, auto-crops top labels and bottom captions while preserving vector quality, and copies figures to the correct manuscript and outline directories.
  • Idempotent Outline Embedding: Automatically inserts or updates image links in your outline document after each result heading, so re-running the skill never duplicates links.
  • Use Case: Researchers who create figures in presentation software can use this skill to instantly generate ready-to-use manuscript figures and embedded outline images without manual formatting work.

Quick Start

Provide the path to your Keynote or PowerPoint research deck to the cropfig skill to automatically generate cropped vector PDFs for your LaTeX manuscript and matching raster PNGs embedded in your research outline.

Frequently Asked Questions about cropfig

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

FAQPage Schema
How do I convert PowerPoint slides to cropped figures for LaTeX manuscripts?

To convert PowerPoint slides to cropped figures for LaTeX manuscripts, the skill exports .pptx decks to per-slide vector PDFs and automatically removes top labels and bottom captions. It generates publication-ready cropped vector files for direct LaTeX manuscript inclusion.

Can I automatically embed slide figures into a research outline without duplicating links?

Yes, you can automatically embed slide figures into a research outline without duplicating links. The skill performs idempotent outline embedding by inserting or updating raster PNG image links after result headings, ensuring re-running the pipeline never creates duplicate references.

Does this figure cropping tool work with Keynote and PowerPoint export engines?

Yes, this figure cropping tool works with Keynote and PowerPoint export engines. It supports macOS Keynote, PowerPoint, and LibreOffice export engines, using PyMuPDF and numpy to process slides into consistent cropped assets across different presentation software platforms.

What is the best way to export both vector PDFs and raster PNGs from the same slide deck?

The best way to export both vector PDFs and raster PNGs from the same slide deck is using an automated pipeline that ensures consistent crop decisions across output formats. This skill exports .key or .pptx decks to cropped vector PDFs for LaTeX and matching raster PNGs for outlines.

Do I need PyMuPDF and numpy to crop presentation slides into publication-ready assets?

Yes, you need PyMuPDF and numpy to crop presentation slides into publication-ready assets. These dependencies drive the automated pipeline that exports decks, auto-crops top labels and bottom captions, and preserves vector quality for both PDF and PNG outputs.

Why does manual figure cropping from slides cause format drift between PDF and PNG outputs?

Manual figure cropping from slides causes format drift between PDF and PNG outputs because separate edits lead to inconsistent crop boundaries. The skill solves this by applying identical crop decisions across both vector PDFs and raster PNGs automatically during the export pipeline.