Title: Added compression option to save TIFF images by renato-umeton · Pull Request #8531 · matplotlib/matplotlib · GitHub
Open Graph Title: Added compression option to save TIFF images by renato-umeton · Pull Request #8531 · matplotlib/matplotlib
X Title: Added compression option to save TIFF images by renato-umeton · Pull Request #8531 · matplotlib/matplotlib
Description: PR Summary TIFF is the scientific journals' preferred format; LZW compression is needed to avoid generating huge (500MB+) images that cannot be readily uploaded to the journal websites during the submission process. Currently we generate huge TIFF image files with MPL, then import them in PIL, save them in PIL using compression of the TIFF and then discarding the uncompressed TIFF files. This PR is about adding support for LZW compression when saving TIFF images. #8530 PR Checklist [NO TESTS FOR SAVE TIF] Has Pytest style unit tests Code is PEP 8 compliant New features are documented, with examples if plot related Documentation is sphinx and numpydoc compliant [NOT MAJOR] Added an entry to doc/users/whats_new.rst if major new feature [N/A] Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way
Open Graph Description: PR Summary TIFF is the scientific journals' preferred format; LZW compression is needed to avoid generating huge (500MB+) images that cannot be readily uploaded to the journal websites during ...
X Description: PR Summary TIFF is the scientific journals' preferred format; LZW compression is needed to avoid generating huge (500MB+) images that cannot be readily uploaded to the journal websites dur...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/8531
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2f7ff531-f505-fceb-b781-92456a02e691 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C1B2:3428FC:2791D:3656B:6A558269 |
| html-safe-nonce | 9b3efb6665bc48f9c8f3ad7bab741b35b03f453bcb4f71413dd8ccebdba89ed9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUIyOjM0MjhGQzoyNzkxRDozNjU2Qjo2QTU1ODI2OSIsInZpc2l0b3JfaWQiOiIzMjI0MDA3MDAxOTc5MDYwODQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 18fb3c360776e7f98a4a2df6aacdd101518be513d0b64104d7772e58d20d7195 |
| hovercard-subject-tag | pull_request:117326019 |
| 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/matplotlib/matplotlib/pull/8531/files |
| twitter:image | https://avatars.githubusercontent.com/u/25375373?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/25375373?s=400&v=4 |
| og:image:alt | PR Summary TIFF is the scientific journals' preferred format; LZW compression is needed to avoid generating huge (500MB+) images that cannot be readily uploaded to the journal websites during ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3215163789b3dc58dba97bd78a30c20c949f477f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width