RTF input conversion creates too large an image when failing to convert .wmf file

Bug #1213599 reported by Dan Freedman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

I use RTF as the base for most of my docs, Many have embedded WMF files, which I usually can strip. If I need them I do all my reformatting then save as HTML and convert to epub & mobi from there.

However, some of the images are tiny, and due to my lack of diligence sometimes (read as frequently lol!) images are overlooked. Oh I do have a macro to remove all images, but that is a blunt tool and is used sparingly.

It would be great if Calibre did not create such a huge cover sized image to warn that there was an offending WMF in the original doc.

I ask if it is possible to add a tweak(s) to
a) silently drop images (with nothing placed in their stead) which could not be converted - with a warning at the end of the conversion
&/or
b) specify our own image to replace the WMF - with appropriate warning
&/or
c) Set a size constraint.
&/or
d) for those who rely on the current process to leave as is.

Revision history for this message
Dan Freedman (kam3bombh96-dan) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.