How to Fix Lines Around Transparent Images in Publisher PDF Export
Question details
The user needs to remove unwanted boxes or boundary lines that appear around transparent PNG images when exporting a Microsoft Publisher document to PDF.

- Product
- Microsoft Publisher
- Device & OS
- not provided
- Scenario
- Exporting or printing a Publisher layout containing overlapping text and transparent PNG images into a PDF format.
- Observed behavior
- After exporting or printing to PDF, visible boxes or lines incorrectly render around the edges of overlapping transparent images and text areas.
Ensure you have a backup of your original Publisher file before modifying export settings. It is also recommended to verify your transparent PNG images have clean edges using an external image viewer before inserting them into your layout.
Disable ISO 19005-1 (PDF/A) Compliance in Publisher
The PDF/A format is designed for archiving and often fails to properly process overlapping transparent elements. Disabling this compliance can instantly resolve transparency artifacts.
PDF/A compliance forces all elements to be flattened or embedded in a specific way for long-term storage, which frequently causes transparent PNG bounding boxes to become visible.
In Microsoft Publisher, click on 'File', navigate to 'Export', and select 'Create PDF/XPS Document'.
Before clicking 'Publish', look for the 'Options' or 'Publish Options' button in the save dialog box and click it to open advanced settings.
Locate the checkbox labeled 'ISO 19005-1 compliant (PDF/A)' under the PDF options section and uncheck it.
Click 'OK', proceed to publish your PDF, and open the resulting file to verify that the unwanted lines around transparent images have disappeared.

Print to a Third-Party PDF Printer at High DPI
Rasterizing the page by printing to a virtual PDF driver at a higher resolution can flatten the graphics correctly when native export fails.
Export the Layout as a High-Resolution Image
Saving the layout as a flat image file acts as a workaround to guarantee transparency rendering, though it may slightly affect crisp text rendering.
Try WPS Office for Flawless PDF Export and Layout Design
If Microsoft Publisher continues to produce rendering errors, consider switching to WPS Office. WPS Writer and Presentation offer robust layout tools, seamless handling of transparent PNGs, and a built-in high-fidelity PDF exporter that faithfully preserves your graphics without unwanted artifacts.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your computer.
- 2. Recreate or Import: Open WPS Writer or Presentation to build your document layout, easily inserting your text and transparent PNGs.
- 3. Export to PDF: Click 'Menu' > 'Export to PDF' to generate a flawless document without unwanted bounding boxes or rendering lines.

Frequently Asked Questions
Why do lines appear around transparent PNGs when exporting to PDF?
This occurs because certain PDF rendering engines struggle to process overlapping transparent layers and text boundaries simultaneously. When standard transparency handling fails—often due to PDF/A archiving constraints—the transparent bounding box of the image is incorrectly rendered as a visible line.
Does repairing Microsoft Office fix Publisher transparency issues?
Repairing Office can fix corrupted program files, but PDF transparency artifacts in Publisher are generally a limitation of the specific PDF export engine and format standards (like PDF/A) rather than a software corruption.
Can I use a different image format to avoid this bounding box issue?
Yes. If transparency is not strictly required for your design, you can convert your PNG images to JPEG format before inserting them into Publisher. Since JPEGs do not support transparency, the rendering engine will not generate boundary lines during the PDF export.
Will printing directly to a physical printer show the same lines?
Sometimes, printing directly from Publisher uses the exact same rendering engine as the PDF export, which may produce the same visible lines. Flattening the document by exporting it as a high-resolution image first usually resolves printing artifacts.




