Preserve Aspect Ration Stretches Image

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

Bug Description

Setting "Preserve the aspect ratio of the image inserted as cover" for DOCX output does not preserve the aspect ratio but rather stretches it in the other direction.
See attached EPUB. After converting to DOCX, the image is stretched vertically.

Calibre 3.9 (Mac)
Word 2016 (15.38)

I also think it would be better to keep the aspect ratio by default for everyone. Why would anyone want to insert a distorted cover image?

Revision history for this message
Ukie (ukiews) wrote :
Revision history for this message
Ukie (ukiews) wrote :

For reference, I am using "Letter" size for the output.

Revision history for this message
Kovid Goyal (kovid) wrote :
  • book.docx Edit (430.9 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
Changed in calibre:
status: New → Invalid
Revision history for this message
Ukie (ukiews) wrote :

Kovid, thank you for taking a look.
However, the image is still stretched/squished.

Look closely at the cover and compare it to the original. The image is squished. Notice that the magnifying glass is no longer a circle.

Changed in calibre:
status: Invalid → New
Revision history for this message
Ukie (ukiews) wrote :

I have tried this with multiple books and the result is the same.

Revision history for this message
Ukie (ukiews) wrote :

Attached is a comparative image.
On the right is the actual cover (proper aspect ratio)
On the left is what Calibre does (squashed)

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 alternate 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.