Fix JPG Header and Footer Color Inversion When Exporting Word to PDF
Question details
JPG images located in the header or footer of a Word document unexpectedly invert colors when the document is exported to PDF.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Exporting or saving a Word document containing JPG headers or footers as a PDF file.
- Observed behavior
- The colors of the images invert automatically, such as changing to white text on a black background, in the resulting PDF output.
Ensure that both your Microsoft Office application and PDF viewer are updated to their latest versions, as outdated rendering engines often cause unexpected image color glitches.
Convert Header and Footer Images to Standard RGB
Converting the source images to standard RGB resolves most color profile and transparency misinterpretations during the PDF conversion process.
Often, images saved with unsupported color profiles (like CMYK) or improper transparency layers will render incorrectly when a Word document is processed into a PDF.
Double-click the header or footer in your Word document, right-click the problematic JPG image, and select 'Save as Picture' to export it to your desktop.
Open the extracted image in a basic image editor, such as Microsoft Paint or Adobe Photoshop.
Ensure the image color mode is set to RGB. If using Photoshop, go to Image > Mode > RGB Color. Save the file as a new, flattened JPG without any transparent backgrounds.
Delete the original image from the Word header/footer and insert the newly saved RGB JPG file.
Go to File > Save As and select PDF to verify that the image colors now render correctly.

Use the 'Print to PDF' Feature
Bypassing Word's native 'Save As PDF' feature by using a virtual printer forces the document to render exactly as it would on paper, often bypassing image rendering bugs.
Use WPS Office for Flawless Word to PDF Conversion
WPS Office provides a highly reliable built-in PDF converter that accurately preserves image color profiles, headers, and footers without unexpected color inversions. It handles complex document layouts seamlessly, ensuring your exports look exactly like the original file.
- 1. Open your document in WPS Writer: Launch WPS Office and open your existing Word document (.docx) containing the header/footer images.
- 2. Access the Export tool: Click on the 'Menu' button in the top left corner of the interface.
- 3. Select Export to PDF: Choose 'Export to PDF' from the drop-down list to open the conversion dialogue.
- 4. Configure and export: Adjust your export settings if needed (such as page range) and click the 'Export to PDF' button.
- 5. Verify your document: Open the generated PDF. Your headers and footers will appear perfectly formatted without any color inversion.

Frequently Asked Questions
Why do images turn black when converted to PDF?
This usually happens due to unsupported image color profiles (like CMYK instead of RGB) or hidden transparency layers in the original image file that the PDF conversion engine cannot correctly interpret during the export process.
Does Adobe Acrobat Dark Mode affect the exported PDF colors?
No, Adobe Acrobat's Dark Mode only changes the viewing interface on your screen to reduce eye strain. It does not alter the actual source file colors or modify the structural rendering of the PDF.
How do I remove transparency from an image in Word?
While JPG files technically do not support transparency, an improperly converted PNG might still carry problematic alpha channels. To fix this, extract the image, open it in an editor like Microsoft Paint, add a solid white background, and resave it as a standard JPG.
Can I fix the inverted colors directly within the PDF file?
If you have a premium PDF editor like Adobe Acrobat Pro, you can select the inverted image using the 'Edit PDF' tool, right-click, and choose 'Edit Using' to fix the colors in an external image editor. However, correcting the image in the original Word document before exporting is usually the most efficient method.




