Images to PDF: many images into one PDF or one each
Pricing
from $4.50 / 1,000 page createds
Images to PDF: many images into one PDF or one each
Turns the images you link or store into one PDF in your order, or one PDF per image. Choose A4, Letter, Legal, A3, A5 or the image size, orientation, fit and margins. JPEG photos go in with no quality loss. Returns a download link for each PDF.
Pricing
from $4.50 / 1,000 page createds
Rating
0.0
(0)
Developer
Ed Rayyis
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Give it images, by link or from one of your key value stores, and it puts them into one PDF in your order, or makes one PDF per image. Choose the page size, orientation, fit and margins. Every PDF goes into the run's key value store, and the dataset gives you its download link, page count and the details of every image in it.
What it does
- One PDF or one per image: all images as pages of one PDF in the order you list them, or a separate PDF for each image
- Page size: A4, US Letter, US Legal, A3, A5, or the image size, where each page is exactly as big as its image plus the margins, at the DPI stored in the image, or 96 DPI when none or less than 30 is stored
- Orientation: auto makes each page horizontal for wide images and vertical for tall ones, or set every page vertical or horizontal
- Fit: fit inside the margins with the aspect ratio kept, shrink only images that are too big, fill the area and crop the overflow, or stretch to fill exactly
- Margins in millimeters, 0 for edge to edge
- No quality loss for photos: JPEG files that need no change go into the PDF as they are. Every other image goes in lossless
- Compress images: store every image as JPEG at the quality you set, for a smaller PDF
- Upright photos: images with an EXIF rotation, such as phone photos, are turned upright
- Transparency in PNG, WebP and GIF images is filled with the background color you choose, white by default
- PDF title stored in the document properties
Reads JPEG, PNG, WebP, GIF, BMP, TIFF and AVIF. An animated GIF uses its first frame, and the item says so.
Example
Six images on A4 with 10 mm margins and auto orientation (a 550 by 368 JPEG, a WebP, a PNG with transparency, a portrait phone photo with an EXIF rotation, a TIFF and an animated GIF) gave one 6 page PDF of 1,350,681 bytes. The wide images got horizontal pages, the phone photo came out upright on a vertical page, and the JPEG went in unchanged. The same JPEG and PNG on US Letter with fill, no margins and compression at quality 60 gave a 2 page PDF of 53,790 bytes.
Input
- Image URLs: direct links to images, in page order
- Files in a key value store: to use images from your computer, upload them to one of your key value stores and pick that store. Every record whose key ends in an image extension, such as
.jpgor.png, is used, in key order - Record keys: only use these records from that store, in this order
- Output: one PDF with all images (default) or one PDF per image
- Page size: A4 (default), US Letter, US Legal, A3, A5 or image size
- Orientation: auto (default), vertical or horizontal
- Fit: fit (default), shrink only, fill or stretch
- Margin in millimeters (default 10)
- Compress images (default off) and JPEG quality (default 80)
- Background for transparency (default white)
- PDF title (optional)
- File name for the single PDF (default
images) - Maximum images (default 500)
- Maximum image size in MB (default 50)
Output
Dataset: one item per PDF with pdfUrl (download link), pdfKey, pages, pdfBytes, and images: for each page, its position in your list, url, inputFormat, imageWidth, imageHeight and how it was embedded (original JPEG, lossless PNG, or JPEG at the quality you set).
An image that cannot be used gets its own item with ok: false and an error, such as HTTP 404, "the link returns a web page, not an image", or "the file is not an image format this actor can read". The PDF is made from the images that work, so one bad image never stops the run.
Pricing
Pay per event: one event per page in the PDFs made. Images that fail are not charged. When your maximum charge allows fewer pages than you sent, the PDF holds the first pages that fit and the rest get an error item.
Scope and conduct
Only the files you supply are downloaded. The actor does not log in anywhere and uses no proxies. Use images you have the right to use.
Support
Questions and problems: the Issues tab on this page. Replies are written by an AI assistant on behalf of the developer and reviewed by the developer.