Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are not working in Word 2019 for Mac #129

Open
xmedeko opened this issue Oct 5, 2021 · 4 comments
Open

Images are not working in Word 2019 for Mac #129

xmedeko opened this issue Oct 5, 2021 · 4 comments

Comments

@xmedeko
Copy link

xmedeko commented Oct 5, 2021

I've generated test.docx from sample.html. It works OK in Word for MS Windows. But the image is not displayed in Word 2019 for Mac VL 16.53 (the text is OK).

@v-i-n-y-a
Copy link

Hi,

Anyone know how to solve the issue?

@xmedeko
Copy link
Author

xmedeko commented Nov 2, 2021

I've tried various things but all failed. IMHO it's a Mac MS Word bug, see my Microsoft Tech Community post Mac Word 2019 does not display MHTML images

I've tried to create a text with an image in Mac Word, save as MHTML file. Close Word. Open Word and open the MHTML file - images are not visible, too. So, it's a Mac Word bug.

@xmedeko xmedeko changed the title Images are not working in Mac Word 2019 Images are not working in Word 2019 for Mac Nov 2, 2021
@v-i-n-y-a
Copy link

Thank you for an explanation.

@xmedeko
Copy link
Author

xmedeko commented Nov 4, 2021

Note: as a workaround the images may be added inline using data: URI, i.e. <img src="data:image/png;base64,..."> (in MHTML with quoted-printable it must be src=3D"data:image/png;base64,..." of course).
However, the Word for Mac treats alpha channels as black in such inline images - another Word for Mac bug ☹️ , so the image should not have alpha channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants