Documentation 1.1.0

pardnio/pdf2image

[!NOTE] This README was generated by SKILL, get the ZH version from here.


TURN ANY PDF INTO IMAGES RIGHT IN THE BROWSER!

npm Downloads License


A JavaScript browser library with PDF-to-image conversion, live progress overlay, and one-click ZIP download

Table of Contents

Features

npm i @pardnchiu/pdf2image · Documentation

Architecture

Full Architecture

graph TB
    Script[pdf2image.js loaded] --> CDN[CDN dependency injection<br/>pdf.js / JSZip / CSS]
    App[Caller] --> Converter[pdf2image class]
    Converter -->|convert| PDFJS[pdf.js render<br/>canvas → Data URL]
    Converter -->|download| ZIP[JSZip bundle<br/>Blob download]
    PDFJS --> Loading[Progress overlay]
    ZIP --> Loading
    PDFJS --> Images[images array]

License

This project is licensed under the MIT LICENSE.

Author

Just open an issue to share an idea.

pdf2image contributors

©️ 2024 邱敬幃 Pardn Chiu

中文