png in docx trouble

Bug #1531738 reported by David Pribyl on 2016-01-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

While I try convert docx to mobi, there is an issue with png picture. I can avoid this problem with converting those picture to jpeg or gif before conversion.

Changed in calibre:
status: New → Incomplete
David Pribyl (pribyl-email) wrote :
David Pribyl (pribyl-email) wrote :
  • bad_book.docx Edit (789.5 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
Changed in calibre:
status: Incomplete → New
Kovid Goyal (kovid) wrote :

The PNG images in that DOCX file are corrupted. While some programs are
able to ignore the corruption and display the file regardless,
ImageMagick, the library calibre uses for image processing does not.

You can fix the PNG files by running them through the optipng program
with the -fix option, like this

optipng -fix file.png

After you do that, the images should work fine in calibre.

 status invalid

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers