{"category":"documents","endpoint":"https://setget.net/v1/tools/images-to-pdf","examples":[{"input":{"files":["sample.jpg","sample.png"]},"title":"Two pictures, each on a page of its own size"},{"input":{"files":["sample.jpg"],"margin":10,"page_size":"a4"},"title":"A photo on A4 with a margin"},{"input":{"compress":true,"files":["sample-transparent.png","sample.png"],"orientation":"landscape","page_size":"letter"},"title":"Letter landscape, stored small"}],"input_schema":{"additionalProperties":false,"properties":{"compress":{"default":false,"description":"Store every picture as a JPEG of good quality. This makes a much smaller PDF from scans and screenshots, with slightly softer edges. Off, pictures keep every pixel.","type":"boolean"},"files":{"description":"The pictures, in page order. PNG, JPG, WebP, GIF, TIFF, BMP and HEIC work.","examples":[["sample.jpg","sample.png"]],"items":{"format":"setget-file","type":"string"},"maxItems":50,"minItems":1,"type":"array","x-accept":["image"]},"margin":{"default":0,"description":"White space around each picture, in millimetres.","maximum":50,"minimum":0,"type":"number"},"orientation":{"default":"auto","description":"For a4 and letter: auto turns the paper to match each picture; portrait and landscape use the same direction for every page.","enum":["auto","portrait","landscape"],"type":"string"},"page_size":{"default":"fit","description":"fit makes each page exactly as large as its picture. a4 and letter place each picture as large as it fits on that paper, centred.","enum":["fit","a4","letter"],"type":"string"}},"required":["files"],"type":"object"},"keywords":["images to pdf","jpg to pdf","png to pdf","photo to pdf","picture to pdf","scan to pdf","combine images into pdf","convert image to pdf","heic to pdf","webp to pdf","screenshots to pdf"],"related":["pdf-to-images","pdf-merge","pdf-compress","ocr-pdf","image-convert"],"slug":"images-to-pdf","summary":"Put 1 to 50 pictures into one PDF, one picture on each page. Pages fit the picture, or use A4 or Letter with a margin.","tier":"job","timeout_seconds":300,"title":"Images to PDF","url":"https://setget.net/tools/images-to-pdf"}
