PUB → PNG lays the publication out as pages and photographs each one, so a flyer becomes an image you can post or email to people who would never open a .pub attachment.
Converted with Office engine → Image engine · input deleted within 24 h
The two-page brochure came back as sample-page-1.png and sample-page-2.png in one ZIP; a single-page poster came back as a bare PNG with no archive.
Pixel size
Changed
Pages render at 144 DPI by default: A4 landscape became 1684 × 1191 pixels and a Letter landscape poster 1584 × 1224. Set dpi to 300 for print-quality images (3300 × 2550 for that poster).
Colours, panels and photos
Kept
The brochure's lilac side panels, navy title bars and gallery photos rendered in the PNGs exactly as they appeared in the PDF step.
Text
Changed
Words become pixels. Nobody can copy a phone number or search the image, and screen readers get nothing, so put the key details in the post or email body too.
Layout problems
Changed
Whatever went wrong in the page layout is baked into the picture: text that runs under clip-art or past the edge of a frame shows the same way in the PNG.
Typefaces
Changed
Substitute fonts are drawn into the image, so a headline set in a decorative face shows in Noto or Liberation and may sit on two lines instead of one.
Background
Changed
Pages are opaque with a white paper colour; there is no transparent version of a Publisher page.
One image per page Kept
The two-page brochure came back as sample-page-1.png and sample-page-2.png in one ZIP; a single-page poster came back as a bare PNG with no archive.
Pixel size Changed
Pages render at 144 DPI by default: A4 landscape became 1684 × 1191 pixels and a Letter landscape poster 1584 × 1224. Set dpi to 300 for print-quality images (3300 × 2550 for that poster).
Colours, panels and photos Kept
The brochure's lilac side panels, navy title bars and gallery photos rendered in the PNGs exactly as they appeared in the PDF step.
Text Changed
Words become pixels. Nobody can copy a phone number or search the image, and screen readers get nothing, so put the key details in the post or email body too.
Layout problems Changed
Whatever went wrong in the page layout is baked into the picture: text that runs under clip-art or past the edge of a frame shows the same way in the PNG.
Typefaces Changed
Substitute fonts are drawn into the image, so a headline set in a decorative face shows in Noto or Liberation and may sit on two lines instead of one.
Background Changed
Pages are opaque with a white paper colour; there is no transparent version of a Publisher page.
Sample conversions
Brochure as images
Input
sample.pub, 161,792 bytes, two A4 landscape pages with photos and clip-art.
Output
911,242-byte ZIP with two 1684 × 1191 PNGs (254,109 and 677,170 bytes) in 2.7 s. The PDF step's overlaps carry over: the coffee cup still hides the holiday opening hours.
Front page only
Input
The seven-page senior-centre newsletter with {"max_pages":1}.
Output
One 1224 × 1584 PNG of the masthead page, 294,914 bytes, instead of a seven-image ZIP.
A real Microsoft Publisher → PNG run
We converted our Microsoft Publisher sample (158 KB) with Office engine → Image engine on 2026-10-20. It took 2.7 s and produced a 890 KB PNG file, 5.6× larger than the input. The engine raised 4 warnings, listed below.
pub
Input · sample.pub · 158 KB
OLE2 compound document (legacy Office binary)
Output · sample.zip · 890 KB
ZIP with 2 page images (sample-page-1.png … sample-page-2.png)
Archive parts
2
first
sample-page-1.png
△Fonts that are not installed on our servers are replaced with substitutes, so text can wrap differently from Publisher.
△Text that flows between linked frames can overrun its box on multi-column pages; check each page before printing.
△PDF pages rendered as images; selectable text is not preserved.
△2 pages written as one PNG each inside a ZIP.
Options and when to change them
dpi
Raise it to 300 when the image will be printed or cropped; keep 144 for screens, email and social posts.
max_pages
Set it to 1 when you want the cover of a newsletter as a preview image.
width
Give a pixel width for a website slot; the height follows the page shape.
Calling soffice --convert-to png directly only writes the first page, at 96 DPI, so go through PDF for multi-page files.
Microsoft Publisher to PNG by API or MCP
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=png.
If people need to click links or copy text, send PUB → PDF instead; a PNG is a picture of the page.
If the image is for a printed poster, set dpi to 300 or use the PDF; 144 DPI looks soft on paper.
If the flyer is mostly a photo and size matters more than crisp text, PUB → JPG gives smaller files.
Microsoft Publisher to PNG questions
How do I post a Publisher flyer on Facebook or Instagram?
Neither site accepts .pub files. Convert to PNG, then upload the page image; for a multi-page newsletter, use max_pages 1 to get just the front page.
Why did I get a ZIP file?
Your publication has more than one page and each page is its own PNG. The ZIP keeps them together and in order; open it and pick the pages you need.
Is a PNG sharp enough to print?
At the default 144 DPI it is fine on screen but soft on paper. Set dpi to 300 for a print-sized image, or print the PDF version, which keeps text as vector outlines.