mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #295] Height DPI is incorrectly set to width DPI for PNG and JPEG images #237
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @evanmiller on GitHub (Jun 8, 2020).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/295
Originally assigned to: @jmcnamara on GitHub.
There are bugs in these two lines:
a0d920e589/src/worksheet.c (L2825)a0d920e589/src/worksheet.c (L2951)They should read:
@jmcnamara commented on GitHub (Jun 8, 2020):
Yikes. Thanks, I'll fix those.
Btw, do you have an image with different X and Y dpi that shows this issue.
I can probably create one but if you have one already that I can use in a test case could you upload it to save time.
@evanmiller commented on GitHub (Jun 8, 2020):
I do not have a test file. I discovered this while trying to debug some images being inserted with incorrect aspect ratios - possibly related to #284.
@jmcnamara commented on GitHub (Jun 8, 2020):
This isn't related to #284.
No problem. I'll try come up a test case for it.
@jmcnamara commented on GitHub (Jul 30, 2020):
Fixed on master. Thanks.