Commit Graph

12420 Commits

Author SHA1 Message Date
Hugo van Kemenade
fccc261386
Merge pull request #5899 from radarhere/bmp
Ensure that BMP pixel data offset does not ignore palette
2021-12-28 10:10:08 +02:00
Hugo van Kemenade
17ec8b5c98
Merge pull request #5879 from radarhere/quantize
Limit quantized palette to number of colors
2021-12-28 10:08:54 +02:00
Hugo van Kemenade
39de05363a
Merge pull request #5870 from radarhere/setup
Use latin1 encoding to decode bytes
2021-12-28 10:07:44 +02:00
Hugo van Kemenade
cc670c940e
Merge pull request #5869 from radarhere/quantize_palette
Fixed palette index for zeroed color in FASTOCTREE quantize
2021-12-28 10:05:58 +02:00
Hugo van Kemenade
f560707def
Merge pull request #5859 from radarhere/saving_rgba_gif
When saving RGBA to GIF, make use of first transparent palette entry
2021-12-28 10:04:10 +02:00
Hugo van Kemenade
1806cf5607
Merge pull request #5848 from radarhere/sampleformat
Pass SAMPLEFORMAT to libtiff
2021-12-28 10:03:16 +02:00
Hugo van Kemenade
e7b53259d1
Merge pull request #5824 from radarhere/l_macro
Added rounding when converting P and PA
2021-12-28 10:02:36 +02:00
Andrew Murray
44bd03fb6e Update CHANGES.rst [ci skip] 2021-12-28 18:56:25 +11:00
Hugo van Kemenade
8e631e4cd9
Merge pull request #5910 from radarhere/putdata
Improved putdata() documentation and data handling
2021-12-28 09:53:33 +02:00
Andrew Murray
16167e82e6 Update CHANGES.rst [ci skip] 2021-12-28 12:00:32 +11:00
Andrew Murray
43b800d933
Merge pull request #5912 from radarhere/fix-pdf-redos-carriage-return
Exclude carriage return in PDF regex to help prevent ReDoS
2021-12-28 11:53:43 +11:00
Hugo van Kemenade
dd8049363e Use more specific regex chars to prevent ReDoS - exclude carriage return 2021-12-28 10:22:39 +11:00
Andrew Murray
e0d5417bcd Raise an error if sequence is not flattened 2021-12-28 09:38:41 +11:00
Andrew Murray
e9294d890f Accept float values for putdata() in Python 3.10 2021-12-28 09:38:41 +11:00
Andrew Murray
020308a7be Clarified that the sequence object for putdata() should be flattened 2021-12-28 09:38:41 +11:00
Hugo van Kemenade
282d8250c6
Merge pull request #5908 from radarhere/none 2021-12-27 15:44:40 +02:00
Andrew Murray
9bc02adcb4 Update CHANGES.rst [ci skip] 2021-12-27 17:10:14 +11:00
Andrew Murray
7adab8f21f
Merge pull request #5909 from radarhere/transform
Fixed freeing pointer in ImageDraw.Outline.transform
2021-12-27 16:25:24 +11:00
Andrew Murray
4222605442 Fixed freeing pointer 2021-12-27 13:39:37 +11:00
Andrew Murray
0af91de452 Image.NONE is only used for resampling and dithers 2021-12-27 12:27:06 +11:00
Hugo van Kemenade
11c536b6d4
Merge pull request #5907 from radarhere/assert_image
Do not compare properties to themselves
2021-12-26 09:38:25 +02:00
Andrew Murray
73ccda9cd1 Do not compare properties to themselves 2021-12-26 13:27:41 +11:00
Alex Clark
9d0703a8a8
Merge pull request #5763 from python-pillow/new-badge 2021-12-25 07:21:33 -05:00
Hugo van Kemenade
1e847256db
Merge pull request #5905 from radarhere/xdgviewer
Added release notes for #5897
2021-12-24 17:52:05 +02:00
Hugo van Kemenade
bf1583fe03
Merge pull request #5906 from radarhere/pip_install
Replaced further direct invocations of setup.py
2021-12-24 13:14:53 +02:00
Andrew Murray
c202fc7f93 Replaced further direct invocations of setup.py 2021-12-24 11:12:51 +11:00
Andrew Murray
b07404e140 Added release notes for #5897 2021-12-24 09:05:54 +11:00
Andrew Murray
8568fab63e Update CHANGES.rst [ci skip] 2021-12-24 08:15:33 +11:00
Hugo van Kemenade
1510efb647
Merge pull request #5897 from m-shinder/main
Added ImageShow support for xdg-open
2021-12-23 08:32:16 +02:00
Andrew Murray
d0faeb4e5e
Added XDGViewer class 2021-12-23 11:15:29 +11:00
Hugo van Kemenade
960da06557
Merge pull request #5902 from radarhere/typo
Fixed typo
2021-12-22 12:13:23 +02:00
Andrew Murray
34ad580f42 Fixed typo 2021-12-22 16:42:39 +11:00
Alex Clark
085b05d87b Lint fix 2021-12-21 11:02:14 -05:00
Andrew Murray
ff723e45ab Ensure that pixel data offset does not ignore palette 2021-12-21 12:43:50 +11:00
Alex Clark
7a426109a1 Add lock file 2021-12-20 13:19:45 -05:00
mihail
5cca90a37c
Add: XDGViewer which uses xdg-open
Synopsis

xdg-open { file | URL }

xdg-open { --help | --manual | --version }

Use 'man xdg-open' or 'xdg-open --manual' for additional info.
2021-12-20 12:09:07 +03:00
mergify[bot]
591e79e01e
Merge pull request #5862 from kolibril13/pathlib
Added PIL + pathlib Tutorial
2021-12-19 23:11:07 +00:00
Andrew Murray
a12c18608e
Corrected variable name 2021-12-20 09:39:09 +11:00
Jan-Hendrik Müller
36caa53fed
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-12-19 22:48:23 +01:00
Hugo van Kemenade
0badf97592
Merge pull request #5896 from radarhere/pip_install 2021-12-19 15:39:47 +02:00
Jan-Hendrik Müller
6b871fa18a
Merge pull request #1 from radarhere/pathlib
Improved batch processing example in tutorial
2021-12-19 13:28:52 +01:00
Jan-Hendrik Müller
cd613e6850
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-12-19 13:26:30 +01:00
Andrew Murray
e94a54ce25 Replaced further direct invocations of setup.py 2021-12-19 12:13:37 +11:00
Andrew Murray
6c8ac0e700 Added "os" example 2021-12-18 21:59:09 +11:00
Andrew Murray
946571d4a3 Moved batch processing example under "More on reading images" 2021-12-18 21:23:07 +11:00
Andrew Murray
d455abffee Moved all pathlib logic out of function 2021-12-18 21:16:50 +11:00
Andrew Murray
a1677ead44 Switched from deprecated "setup.py install" to "pip install ." 2021-12-18 19:43:23 +11:00
Andrew Murray
e7e05e2701 GHA: Restored macos-latest for PyPy builds 2021-12-18 19:39:05 +11:00
Hugo van Kemenade
2a38670169
Merge pull request #5888 from radarhere/gha_pypy 2021-12-15 11:14:04 +02:00
Andrew Murray
603fb34701 GHA: Still use macos-latest for non-PyPy builds 2021-12-15 08:10:12 +11:00