Fix PowerPoint Adding Gray Lines When Saving Cropped Slides as PNG
Question details
Exporting a PowerPoint slide with cropped images to PNG format results in unwanted thin gray outlines around the pictures.

- Product
- Microsoft PowerPoint
- Device & OS
- Windows 10
- Scenario
- The user is attempting to save or export a presentation slide containing cropped images as a PNG image file.
- Observed behavior
- Thin gray lines appear around the edges of cropped images in the resulting PNG file, an issue that does not happen when saving the slide as a JPG.
Open the exported PNG file in multiple image viewers to confirm whether the gray lines are actually embedded into the image file or if they are simply anti-aliasing artifacts caused by the image viewer's screen scaling.
Export the Slide as a JPG Instead
Since the rendering issue is specifically isolated to PowerPoint's PNG export engine, saving the slide as a JPG bypasses the bug entirely and results in a clean image.
This is the most effective and practical workaround provided that your exported slide does not require a transparent background. JPG compression handles cropped image boundaries differently, preventing the gray line artifacts.
Click on 'File' in the top-left corner and select 'Save As', or simply press the F12 key on your keyboard.
Click the 'Save as type' dropdown menu below the file name and select 'JPEG File Interchange Format (*.jpg)'.
Click 'Save'. A prompt will appear asking which slides you want to export. Choose 'Just This One' or 'All Slides' based on your needs.

Verify if the Lines are Display Artifacts
Sometimes the gray lines are not permanently saved into the image pixels, but instead appear dynamically depending on the zoom level of your image viewer.
Export Clean, Borderless Slides Using WPS Presentation
Avoid frustrating rendering bugs by using WPS Presentation to export your slides. It efficiently processes cropped images and exports high-quality, artifact-free PNGs with full background transparency support.
- 1. Open your presentation: Launch WPS Presentation and open your .pptx file that contains the cropped images.
- 2. Access the Export to Picture tool: Navigate to the 'Tools' tab on the top ribbon menu and click on 'Export to Picture'.
- 3. Configure export settings: Choose 'PNG' as your desired output format, adjust the resolution to your preference, and click 'Export' to save a clean, artifact-free image.

Frequently Asked Questions
Why does PowerPoint add these gray lines to PNGs?
This is a known rendering artifact in the Microsoft PowerPoint PNG export engine. It typically happens during anti-aliasing when the software attempts to smooth the edges of cropped objects against the slide's background.
Will the 'Delete cropped areas of pictures' option fix this issue?
In most cases, selecting 'Delete cropped areas of pictures' in the Compress Pictures menu does not resolve this specific PNG export bug, as the rendering engine may still outline the former boundaries.
Can I copy and paste the slide to bypass the gray lines?
Yes. Selecting all elements on your slide (Ctrl+A), copying them (Ctrl+C), and pasting them directly into an external image editor like MS Paint or Photoshop, then saving as PNG from there, will often bypass PowerPoint's slide-export rendering bug.




