Skill / SKILL.md

Extract Pdf Figures

IgorOberon/translate-pdf-latex

Extract individual figures (diagrams, plots, photos, 3D renders) out of a PDF page as clean cropped PNGs, with pixel-accurate bounding boxes. Use this whenever you need to pull figures from a book/paper/scan to re-insert them into a new document (e.g. a translation, a rebuild, a slide deck), or whenever a blind bbox guess keeps grabbing the page header, the figure caption, or neighbouring body text. Works for both born-digital PDFs (vector + raster) and scanned PDFs where the whole page is one raster image. The core trick is to render the page with a labelled coordinate grid, read the figure's exact point-coordinates off the grid, then clip at high DPI — instead of guessing and re-cropping over and over. Always verify each crop by building a montage and looking at it. Russian phrasings that must trigger it too — «вырежи рисунки из PDF», «вытащи картинку со страницы N», «достань иллюстрации из книги в PNG», «кроп всё время цепляет подпись/колонтитул».
2 views 16 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Extract individual figures (diagrams, plots, photos, 3D renders) out of a PDF page as clean cropped PNGs, with pixel-accurate bounding boxes. Use this whenever you need to pull figures from a book/paper/scan to re-insert them into a new document (e.g. a translation, a rebuild, a slide deck), or whenever a blind bbox guess keeps grabbing the page header, the figure caption, or neighbouring body text. Works for both born-digital PDFs (vector + raster) and scanned PDFs where the whole page is one raster image. The core trick is to render the page with a labelled coordinate grid, read the figure's exact point-coordinates off the grid, then clip at high DPI — instead of guessing and re-cropping over and over. Always verify each crop by building a montage and looking at it. Russian phrasings that must trigger it too — «вырежи рисунки из PDF», «вытащи картинку со страницы N», «достань иллюстрации из книги в PNG», «кроп всё время цепляет подпись/колонтитул».

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/IgorOberon/translate-pdf-latex' skill-source

Use the complete skill-source/companion-skills/extract-pdf-figures directory with your client’s skill installer.

  • companion-skills/extract-pdf-figures

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory companion-skills/extract-pdf-figures

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
0a9a0d5dbaaf322336b4440ea814a7cad4bd61ff7ceab9fd3622e5e31d2f6ac5
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills