Brochure as JPEGs
- Input
- sample.pub, 161,792 bytes, two A4 landscape pages, one of them mostly photographs.
- Output
- 496,203-byte ZIP with two 1684 × 1191 JPEGs in 1.4 s, about half the size of the PNG ZIP.
PUB → JPG gives the most widely accepted picture of each page, which matters when a school portal or website builder only takes JPEG uploads.
From real runs
| Element | Result | What happens |
|---|---|---|
| Page images | Kept | Two brochure pages produced sample-page-1.jpg and sample-page-2.jpg, zipped together in page order. |
| File size | Changed | The brochure JPEGs were 221,178 and 328,693 bytes against 254,109 and 677,170 for the PNGs, because the photo-heavy second page compresses far better as JPEG. |
| Small text | Changed | Quality 90 leaves faint halos around small body text and thin rules; readable on screen, slightly fuzzy when zoomed. |
| Photos and clip-art | Kept | Gallery photographs look the same as in the PNG route; JPEG is built for exactly this kind of content. |
| Transparency | Lost | JPEG has no alpha channel, so every page is flattened onto white. |
| Frame layout | Changed | The JPEG shows the page as our office engine laid it out, including any text that overruns a linked frame or runs beneath a picture. |
Two brochure pages produced sample-page-1.jpg and sample-page-2.jpg, zipped together in page order.
The brochure JPEGs were 221,178 and 328,693 bytes against 254,109 and 677,170 for the PNGs, because the photo-heavy second page compresses far better as JPEG.
Quality 90 leaves faint halos around small body text and thin rules; readable on screen, slightly fuzzy when zoomed.
Gallery photographs look the same as in the PNG route; JPEG is built for exactly this kind of content.
JPEG has no alpha channel, so every page is flattened onto white.
The JPEG shows the page as our office engine laid it out, including any text that overruns a linked frame or runs beneath a picture.
We converted our Microsoft Publisher sample (158 KB) with Office engine → Image engine on 2026-10-20. It took 1.6 s and produced a 485 KB JPEG file, 3.1× larger than the input. The engine raised 4 warnings, listed below.
Input · sample.pub · 158 KB
OLE2 compound document (legacy Office binary)
Output · sample.zip · 485 KB
ZIP with 2 page images (sample-page-1.jpg … sample-page-2.jpg)
LibreOffice and pdftoppm
soffice --headless --convert-to pdf bulletin.pub && pdftoppm -jpeg -jpegopt quality=90 -r 144 bulletin.pdf pageFonts used in the publication must be installed locally or the same substitutions happen on your machine.
The HTTP API and the MCP server run the exact engine this page uses (Office engine → Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=pub&to=jpg.
curl -X POST https://filetypeconverters.com/api/v1/convert \
-H "Authorization: Bearer $FTC_API_KEY" \
-F "file=@input.pub" -F "from=pub" -F "to=jpg" \
-F 'options={"width":0}' \
--output output.jpg| Key | Applies to | Type | Default |
|---|---|---|---|
| width | Writing JPEG | number | 0 |
| height | Writing JPEG | number | 0 |
| fit | Writing JPEG | contain · cover · fill | contain |
| quality | Writing JPEG | number | 90 |
| background | Writing JPEG | string | #ffffff |
| stripMetadata | Writing JPEG | boolean | true |
Choose JPG when the flyer is photo-heavy or the upload form only takes JPEG; choose PNG when it is mostly text, logos and flat colour, which JPEG blurs slightly at the edges.
Publisher drew them with a symbol font such as Wingdings, which we do not have, so the underlying letter is shown instead. Replace the symbols in the original or edit the image afterwards.
Set width to the pixel width your site uses, for example 1200; the height follows the page proportions so nothing is stretched.