mcpField
P
PDF Converter

PDF Converter

github.com/claude-office-skillsドキュメント5455.2k 回インストール39 週間前に更新
リポジトリ

PDF Converter について

PDF Converter は、PDF と他の文書形式の変換を案内するスキルです。文書変換や画像抽出、バッチ処理を計画する人向けで、品質調整や問題解決も扱いますが、実際のファイル変換は行いません。

主な機能

  1. 01PDF と文書形式の変換ガイド
  2. 02PDF からの画像やテキスト抽出
  3. 03バッチ変換ワークフローの計画
  4. 04変換品質と問題解決の案内

活用シーン

  1. 01複数の PDF を Word に変換する計画
  2. 02文書から PDF への出力設定の準備
  3. 03PDF ページを画像化する際の解像度選択

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/claude-office-skills/skills --skill pdf-converter

インストール後、Claude Code で/pdf-converterを入力して読み込まれたか確認します。

詳細

PDF コンバーター

書式を維持しながら、PDF ファイルをさまざまな形式に変換したり、他の形式から PDF に変換したりできます。

概要

このスキルでは、以下の操作を行えます。

  • PDF を編集可能な形式(Word、Excel)に変換する
  • ドキュメントを PDF に変換する
  • PDF から画像を抽出する
  • 変換品質を最適化する
  • バッチ変換を処理する

対応している変換

PDF から他の形式への変換
対象形式最適な用途品質
Word (.docx)テキストが主体のドキュメント⭐⭐⭐⭐
Excel (.xlsx)表やデータ⭐⭐⭐⭐
PowerPoint (.pptx)プレゼンテーション⭐⭐⭐
画像 (.png/.jpg)視覚的なスナップショット⭐⭐⭐⭐⭐
テキスト (.txt)プレーンテキストの抽出⭐⭐⭐⭐
HTMLWeb コンテンツ⭐⭐⭐
Markdown (.md)構造化テキスト⭐⭐⭐
他の形式から PDF への変換
元の形式品質に関する注意事項
Word (.docx)書式をほぼ完全に保持できます
Excel (.xlsx)良好ですが、改ページを確認してください
PowerPoint (.pptx)優れた品質ですが、アニメーションは静止画になります
画像解像度によって異なります
HTMLさまざまで、CSS が異なる場合があります
テキスト (.txt)完全ですが、基本的な仕上がりです

使用方法

基本的な変換
"Convert this PDF to Word"
"Save this document as PDF"
"Extract this PDF as images"
オプションを指定した変換
"Convert PDF to Word, preserve exact formatting"
"Export PDF pages 1-5 as PNG images at 300 DPI"
"Convert Excel to PDF, fit all columns on one page"
バッチ変換
"Convert all PDFs in this folder to Word documents"
"Create PDFs from these 10 Word files"

変換のガイドライン

PDF から Word への変換
## PDF to Word Conversion

### Best Practices
1. **Check source PDF type**:
   - Native PDF (from Word/etc): Best results
   - Scanned PDF: Use OCR first
   - Image-based: Limited accuracy

2. **Formatting considerations**:
   - Complex layouts may shift
   - Fonts substitute if not installed
   - Tables may need adjustment
   - Headers/footers require review

### Quality Settings
| Setting | Result |
|---------|--------|
| **Exact** | Matches layout precisely, harder to edit |
| **Editable** | Optimized for editing, may shift layout |
| **Text only** | Plain text, no formatting |

### Common Issues
| Issue | Solution |
|-------|----------|
| Text as image | Run OCR before converting |
| Missing fonts | Embed or substitute fonts |
| Broken tables | Manually adjust in Word |
| Lost colors | Check color profile settings |
PDF から Excel への変換
## PDF to Excel Conversion

### Ideal Sources
- PDF with clear table structure
- Financial statements
- Data reports
- Invoices with line items

### Extraction Methods
| Method | Use When |
|--------|----------|
| **Auto-detect tables** | Clear table borders |
| **Select area** | Tables without borders |
| **Full page** | Entire page is data |

### Quality Tips
1. Ensure PDF has selectable text (not scanned)
2. Clean table borders help detection
3. Merged cells may cause issues
4. Multi-page tables need manual merge

### Data Cleanup
After conversion, check:
- [ ] Column alignment
- [ ] Number formatting
- [ ] Date formats
- [ ] Merged cell handling
- [ ] Header row detection
PDF から画像への変換
## PDF to Image Conversion

### Resolution Settings
| DPI | Use Case | File Size |
|-----|----------|-----------|
| 72 | Screen viewing | Small |
| 150 | Email/web | Medium |
| 300 | Print quality | Large |
| 600 | High-quality print | Very large |

### Format Selection
| Format | Best For |
|--------|----------|
| **PNG** | Text, graphics, transparency |
| **JPG** | Photos, smaller files |
| **TIFF** | Print production |
| **WebP** | Web optimization |

### Output Options
- All pages → separate images
- Specific pages → selected images
- Page range → batch export
ドキュメントから PDF への変換
## Converting to PDF

### From Word
**Settings**:
- [ ] Embed fonts
- [ ] Include bookmarks
- [ ] Set PDF/A for archival
- [ ] Compress images (optional)

### From Excel
**Settings**:
- [ ] Define print area
- [ ] Set page breaks
- [ ] Choose orientation
- [ ] Fit to page options

### From PowerPoint
**Settings**:
- [ ] Slide range
- [ ] Include notes (optional)
- [ ] Quality level
- [ ] Handout format (optional)

### Universal Tips
1. Review in print preview first
2. Check page breaks
3. Ensure fonts are embedded
4. Verify hyperlinks work

バッチ処理

バッチ変換のテンプレート
## Batch Conversion Job

**Source**: [Folder path]
**Target Format**: [Format]
**Output Folder**: [Path]

### Files to Convert
| File | Pages | Status |
|------|-------|--------|
| document1.pdf | All | ✅ Complete |
| document2.pdf | All | ✅ Complete |
| document3.pdf | 1-5 | ⏳ Processing |

### Settings Applied
- Resolution: [X] DPI
- Quality: [High/Medium/Low]
- Naming: [Original name]_converted.[ext]

### Summary
- Total files: [X]
- Successful: [Y]
- Failed: [Z]

トラブルシューティング

よくある問題
問題原因解決策
テキストを選択できないスキャンされた PDF先に OCR を適用する
文字が欠落しているフォントの問題フォントを埋め込むか、変換する
画像の品質が低いDPI が低いより高い解像度を使用する
ファイルサイズが大きい圧縮されていない圧縮を適用する
書式が失われるレイアウトが複雑「exact」モードを使用する
品質チェックリスト

変換後に、以下を確認してください。

  • すべてのテキストが揃っていて、読みやすい
  • 書式が概ね維持されている
  • 画像が含まれていて、鮮明である
  • 表が適切に構成されている
  • リンクが機能する(該当する場合)
  • ページ数が一致している

ツールの推奨事項

オンラインツール
  • Adobe Acrobat(最高品質)
  • SmallPDF(使いやすい)
  • ILovePDF(バッチ処理に便利)
  • PDF24(無料で、品質も良好)
デスクトップソフトウェア
  • Adobe Acrobat Pro
  • Microsoft Office(標準機能)
  • LibreOffice(無料)
  • Foxit PDF Editor
コマンドライン
  • Pandoc(テキスト形式)
  • ImageMagick(画像)
  • pdftk(PDF 操作)
  • Poppler ユーティリティ

制限事項

  • 実際のファイル変換はできません(手順を案内します)
  • スキャンされた PDF は、事前に OCR 処理が必要です
  • 複雑なレイアウトは完全に変換できない場合があります
  • パスワードで保護された PDF にはパスワードが必要です
  • 変換時に一部の書式は必ず失われます
  • 品質は元の PDF の種類によって異なります

コメント