Skip to content

Commit 0836960

Browse files
committed
docs: add image based pdf viewer
1 parent c601fec commit 0836960

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Build PDF Viewer Based on Image
2+
3+
It's intuitive to build a PDF viewer based on images when you only got limited time and resources. This approach can be effective for simple use cases, such as displaying static documents or creating a lightweight viewer without advanced features.
4+
5+
The PDF file format is complex, it includes lots of features like search, document-level navigation, annotations, interactive forms, digital signatures, etc. The image-based approach simplifies the rendering process by converting each page of the PDF into an image, but it also make it harder to implement advanced features.
6+
7+
## Success Story
8+
9+
[PSPDFKit](https://www.nutrient.io/sdk/) (now known as Nutrient), is one of the most popular commercial PDF SDK built on top of image-based rendering approach. Its creator is [Christoph Kappestein](https://twitter.com/kappeschaaf), known for Moltbot (Formerly Clawdbot).

docs/blog/how-to-develop-a-PDF-viewer.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This article is the overview for a series: each major approach below will have i
1515

1616
## Four Major Ways to Develop a PDF Viewer
1717

18-
### Based on images
18+
### Based on image
1919

2020
Convert each page of the PDF into an image (e.g., PNG or JPEG) on the server side. Then, display these images in a web application using HTML `<img>` tags or a JavaScript image viewer library. This approach is relatively simple but may not provide the best user experience, especially for large documents. It's not extensible and all other features like text selection, search, annotations, etc. will be limited to what you can do with images.
2121

@@ -58,3 +58,7 @@ An Open Source PDF viewer also built using PDFium Wasm. It provides a polished,
5858
### Buying a commercial solution
5959

6060
There are several commercial PDF viewer solutions available. You can see [commercial pdf viewers](/blog/3-ways-to-display-pdf-in-html#commercial-pdf-viewer).
61+
62+
### Blog Series
63+
64+
- [How to Build a PDF Viewer Based on Image](/blog/build-pdf-viewer-based-on-image.html)

0 commit comments

Comments
 (0)