merge-book-cover

Community

Merge a cover image into a PDF with exact width.

Authordparedesi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill merges a cover image into a PDF book, preserving aspect ratio and matching the book's page width. It ensures the cover aligns perfectly with the book's first page and avoids distortions when combining files.

Core Features & Use Cases

  • Attach a branded cover image (PNG/JPG) to an existing PDF while preserving the original aspect ratio.
  • Resize the cover to the book's width so the first page matches the rest of the document.
  • Use case: prepare a multi-book PDF library with consistent cover pages for cataloging.

Quick Start

  1. Ensure assets/cover.png exists.
  2. Ensure docs/Data-Science-with-Python.pdf exists.
  3. Run the script: python3 .agent/skills/merge-book-cover/scripts/merge_cover.py

Dependency Matrix

Required Modules

img2pdfpikepdfPillow

Components

scriptsassets

💻 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: merge-book-cover
Download link: https://github.com/dparedesi/Data-Science-with-Python-book/archive/main.zip#merge-book-cover

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 223,000+ vetted skills library on demand.