convert: png treated as txt
I'm trying to convert an epub to pdf in calibre. The conversion fails with:
assets/img.png contains data in TXT format converting to HTML
Converting assets/tip-small.png ...
Failed to run pipe worker with command: from calibre.gui2.viewer.printing import do_print; do_print()
Python function terminated unexpectedly
'utf8' codec can't decode byte 0x89 in position 0: invalid start byte. -- Note: Markdown only accepts unicode input! (Error Code: 1)
Obviously, calibre is interpreting the PNG as text, which then fails.
This is on a fresh install of calibre 3.46.0 on Windows 10. Conversion of a different epub worked.
Any ideas?
Thanks Frank
|