Title: fix: fallback to 72 dpi when image header is 0 (#1494) by thiagocborghi · Pull Request #1505 · python-openxml/python-docx · GitHub
Open Graph Title: fix: fallback to 72 dpi when image header is 0 (#1494) by thiagocborghi · Pull Request #1505 · python-openxml/python-docx
X Title: fix: fallback to 72 dpi when image header is 0 (#1494) by thiagocborghi · Pull Request #1505 · python-openxml/python-docx
Description: Adds a 72-dpi fallback when an image header declares 0 dpi, preventing the ZeroDivisionError reported in #1494. The fix changes two getter methods (horz_dpi / vert_dpi) and adds a regression test w...
Open Graph Description: Adds a 72-dpi fallback when an image header declares 0 dpi, preventing the ZeroDivisionError reported in #1494. The fix changes two getter methods (horz_dpi / vert_dpi) and adds a regression test w...
X Description: Adds a 72-dpi fallback when an image header declares 0 dpi, preventing the ZeroDivisionError reported in #1494. The fix changes two getter methods (horz_dpi / vert_dpi) and adds a regression test w...
Opengraph URL: https://github.com/python-openxml/python-docx/pull/1505
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:9e0ed1e6-d537-c38b-a2d1-fc6a8148ea5c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CCBA:1132B7:2CB1F02:3DDB806:6972B0F7 |
| html-safe-nonce | 9c67ed1c5c62a4da06bc71a0543ef5a6894cc46e7e0f2acb9e4b782f7bb91f36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0JBOjExMzJCNzoyQ0IxRjAyOjNEREI4MDY6Njk3MkIwRjciLCJ2aXNpdG9yX2lkIjoiODIzNjkwODkxNTA2MDgxNDA3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a40fee82a5a0b1575eabde37942c4ee98be439f51a242d181da90091395d5d85 |
| hovercard-subject-tag | pull_request:2651105718 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-openxml/python-docx/1505/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d4d5ce27cea00eb838f4e6ea34effdba3ae0a9764af855f7e07b5341db1689ad/python-openxml/python-docx/pull/1505 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4d5ce27cea00eb838f4e6ea34effdba3ae0a9764af855f7e07b5341db1689ad/python-openxml/python-docx/pull/1505 |
| og:image:alt | Adds a 72-dpi fallback when an image header declares 0 dpi, preventing the ZeroDivisionError reported in #1494. The fix changes two getter methods (horz_dpi / vert_dpi) and adds a regression test w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thiagocborghi |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae357919e9cc5fb635a01c9a2cc530478d3ac85f55090215eb70e1beca3385ac |
| turbo-cache-control | no-preview |
| go-import | github.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git |
| octolytics-dimension-user_id | 3403760 |
| octolytics-dimension-user_login | python-openxml |
| octolytics-dimension-repository_id | 13592924 |
| octolytics-dimension-repository_nwo | python-openxml/python-docx |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13592924 |
| octolytics-dimension-repository_network_root_nwo | python-openxml/python-docx |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 625f1bd9f76a617a9c0729e2de91edb56b6ce42f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width