---
title: Convert Images to PDF API
slug: convert-image-to-pdf
url: https://apyhub.com/apyhub/service/convert-image-to-pdf
provider: ApyHub
categories: [File Conversion]
auth: api_key
---

# Convert Images to PDF API

Convert uploaded images, base64 bytes, or image URLs into PDF binaries or signed links. Useful for scans, screenshots, and image-based document workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/convert/image-base64/pdf-url` | What it does Converts a base64-encoded image into a PDF and returns a signed link to the generated… | 100 |
| POST | `/convert/image-file/pdf-file` | What it does Converts an uploaded image file into a PDF and returns the resulting PDF as a binary d… | 100 |
| POST | `/convert/image-file/pdf-url` | What it does Converts an uploaded image file into a PDF and returns a signed PDF link in the respon… | 100 |
| POST | `/convert/image-url/pdf-file` | What it does Converts a remote image referenced by a URL into a PDF and returns the PDF as a binary… | 100 |
| POST | `/convert/image-url/pdf-url` | What it does Converts a remote image accessible by URL into a PDF and returns a signed PDF link. Yo… | 100 |
| POST | `/convert/image-base64/pdf-file` | What it does Converts a base64-encoded image into a PDF and returns the PDF as a binary download. T… | 100 |

## About

## What it does
Image to PDF converts image files, base64-encoded image bytes, or remote image URLs into PDF output. Send an image and get back either a downloadable PDF binary or a signed PDF link, depending on the endpoint you choose.

Use Image to PDF when you need to turn screenshots, scanned pages, product photos, or generated assets into a portable document format. The service accepts uploaded files, a `base64` string, or a `url` to a remote image. For file- and URL-based conversions, you can also set `landscape` to control page orientation. The download endpoints return a PDF as binary data, while the link endpoints return a `data` field containing a URI.

This is useful for document workflows that assemble image-based reports, archive receipts, or package visual assets for sharing and storage. If your app already stores images in object storage or receives them from a client upload, you can convert them to PDF without adding your own rendering pipeline.

Image to PDF supports common image formats including PNG, JPEG, GIF, SVG, TIFF, and BMP on the upload path.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/convert-image-to-pdf
