Logo

Tutorials

Practical, real-world guides for developers — essential workflows broken down into clear steps, with ready-to-use code you can drop into your project.

PDF Overlay Python

Add Page Numbers and Headers to PDFs with Python

Add consistent page numbers, headers, or footers to existing PDF documents using Python and the Apdf Overlay API. Perfect for preparing reports for distribution without regenerating the original documents.

6 min read

OCR Node.js Data Entry

Extract Text from Scanned Invoices for Automated Data Entry

Automate data entry from scanned invoices and receipts using Node.js and the Apdf OCR Read API. Extract vendor names, invoice numbers, and totals from image-based PDFs and feed them directly into your accounting system.

6 min read

OCR Search PHP

Search Inside Scanned Contracts and Documents with PHP

Find specific text within scanned PDF documents using PHP and the Apdf OCR Search API. Perfect for legal compliance, contract review, and searching through digitized archives where standard PDF search doesn't work.

6 min read

PDF Security Ruby

Remove Password Protection from Archived PDFs with Ruby

Batch remove password protection from PDF documents using Ruby when you have the known password. Ideal for migrating protected archives to new systems or simplifying access to legacy documents protected with standard organizational passwords.

4 min read

Metadata Java

Extract PDF Metadata for Document Management with Java

Read PDF metadata including page count, file size, author, and encryption status using Java. Build smarter document catalogs, enable advanced filtering, and detect protected files automatically for your document management system.

4 min read

Compress PDF Node.js

Compress Large PDFs for Email Attachments with Node.js

Reduce PDF file sizes before sending email attachments using Node.js and the Apdf Compress API. Avoid bounced emails, improve deliverability, and save bandwidth with automatic compression that can shrink files by 50-90%.

6 min read

PDF to Image Go

Generate PDF Thumbnails for Document Previews with Go

Build a document preview system by converting PDF pages to thumbnail images using Go. Learn how to generate fast, lightweight previews for file browsers and document management systems without heavy local dependencies.

6 min read

OCR Python

Convert Scanned PDFs to Searchable Documents with Python

Transform image-based scanned PDFs into fully searchable documents using Python and the Apdf OCR API. Perfect for digitizing paper archives, enabling text selection, and making legacy documents ready for modern search systems.

4 min read

PDF to Image PHP

How to Send "Embedded" PDF Invoice Previews in Emails (using Images)

Learn how to embed PDF invoices directly in HTML emails by converting the first page to an image. Since email clients don't support embedded PDFs, this technique uses the Apdf API to create visual invoice previews that increase engagement and trust with your customers.

8 min read