Commit Graph

14734 Commits

Author SHA1 Message Date
Andrew Murray
b970eb9e5d Added memoryview support to Dib.frombytes() 2023-03-04 17:18:59 +11:00
Andrew Murray
02afe1f13b Removed unused profile_fromstring method 2023-03-04 16:35:51 +11:00
Andrew Murray
e953978b31 Added test 2023-03-04 11:44:45 +11:00
Andrew Murray
1457d2c146
Merge pull request #6968 from akx/pytest-style
Fix up some pytest style issues
2023-03-04 10:31:54 +11:00
Aarni Koskela
912ab3e088
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-03-03 16:00:56 +02:00
Frédéric Carron
2299490082 Close the file pointer copy (_fp) in the libtiff encoder if it is still open. 2023-03-03 11:41:37 +01:00
Aarni Koskela
32bfee030b
Update Tests/test_file_apng.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-03-03 10:29:51 +02:00
Andrew Murray
9ed8ca1494 Removed "del im" 2023-03-03 10:28:36 +02:00
mergify[bot]
01520de6f7
Merge pull request #6983 from radarhere/harfbuzz
Updated harfbuzz to 7.1.0
2023-03-03 07:46:41 +00:00
Andrew Murray
1a790a91f5 Updated harfbuzz to 7.1.0 2023-03-03 14:38:51 +11:00
Yay295
281cbc2755
Merge branch 'python-pillow:main' into eps_plugin_perf 2023-03-02 15:29:12 -06:00
Yay295
60b717a94b add link to %ImageData definition
and remove empty comment lines
2023-03-02 15:27:06 -06:00
Yay295
4f9c3847e8 notes about %ImageData, and use better var names 2023-03-02 15:02:53 -06:00
Hugo van Kemenade
6ca7bcceee
Merge pull request #6976 from radarhere/memoryview 2023-03-02 12:20:41 +02:00
Andrew Murray
396dd820b9 Update CHANGES.rst [ci skip] 2023-03-01 23:04:21 +11:00
mergify[bot]
1c24fa5f7d
Merge pull request #6978 from radarhere/coordinates
Raise an error if ImageDraw co-ordinates are incorrectly ordered
2023-03-01 11:44:00 +00:00
Andrew Murray
a4965a7eaa Split into x and y errors 2023-03-01 22:06:40 +11:00
nulano
f2527dd5eb
Merge remote-tracking branch 'upstream/main' into winbuild-ninja 2023-03-01 09:06:43 +00:00
Hugo van Kemenade
19e974fc1e
Merge pull request #6981 from radarhere/lcms2_version
Updated lcms2 to 2.15
2023-03-01 08:24:37 +02:00
Andrew Murray
b84c29a035 Raise an error if co-ordinates are incorrectly ordered 2023-03-01 11:22:35 +11:00
Andrew Murray
53fb3a9365 Updated lcms2 to 2.15 2023-03-01 11:04:14 +11:00
Andrew Murray
6e9c0ae5a0 Further document that x1 >= x0 and y1 >= y0 2023-02-28 22:49:04 +11:00
Andrew Murray
17eadf07fa Update CHANGES.rst [ci skip] 2023-02-28 20:49:43 +11:00
Andrew Murray
9c98f4d515 Release buffer 2023-02-27 09:48:41 +11:00
Hugo van Kemenade
7e8b11b159
Merge pull request #6954 from radarhere/corners 2023-02-26 18:29:35 +02:00
Andrew Murray
6df3ad6f2d
Merge pull request #6971 from akx/clarify-variable-names
Clarify some local variable names
2023-02-26 22:45:12 +11:00
Aarni Koskela
bbbaf3c615
Update src/PIL/PcfFontFile.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-02-26 13:03:29 +02:00
Andrew Murray
c799bd8a03 Adjusted variable names and comments to better match specification 2023-02-25 16:31:26 +02:00
Andrew Murray
fcc59a4001 Use existing variable names from ImageFile 2023-02-25 16:31:26 +02:00
Hugo van Kemenade
7d8a08b221
Merge pull request #6958 from radarhere/codeblock 2023-02-25 13:38:29 +02:00
Andrew Murray
36489c2c39 Update CHANGES.rst [ci skip] 2023-02-25 20:54:35 +11:00
Hugo van Kemenade
053d90afe0
Merge pull request #6974 from radarhere/memoryview 2023-02-25 11:50:43 +02:00
Andrew Murray
132fb9360b Added memoryview support to frombytes() 2023-02-25 19:10:47 +11:00
Andrew Murray
dbcd7372e5 Update CHANGES.rst [ci skip] 2023-02-25 18:46:07 +11:00
Hugo van Kemenade
7d91efd9f2
Merge pull request #6973 from radarhere/fits
Allow comments in FITS images
2023-02-25 09:43:45 +02:00
Andrew Murray
8a1b9aa0ad Allow comments in FITS images 2023-02-25 16:44:07 +11:00
Andrew Murray
1263018d2a Assert value instead of assigning unused variable 2023-02-24 21:01:03 +02:00
Aarni Koskela
8e18415cc5 Clarify variable names in TiffImagePlugin
Co-authored-by: Yay295 <Yay295@users.noreply.github.com>
2023-02-24 10:09:14 +02:00
Aarni Koskela
6f79e653d6 Clarify variable names in PcfFontFile
Co-authored-by: Yay295 <Yay295@users.noreply.github.com>
2023-02-24 10:08:20 +02:00
Aarni Koskela
04be46d484 Clarify variable names in ImageFile
Co-authored-by: Yay295 <Yay295@users.noreply.github.com>
2023-02-24 10:04:38 +02:00
Aarni Koskela
b6b72170a8 Clarify variable names in Image
Co-authored-by: Yay295 <Yay295@users.noreply.github.com>
2023-02-24 09:59:54 +02:00
Aarni Koskela
f52bbf8950 Clarify variable names in BdfFontFile
Co-authored-by: Yay295 <Yay295@users.noreply.github.com>
2023-02-24 09:58:51 +02:00
Aarni Koskela
44c4e67fe1
Fix vars to var
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-24 09:26:18 +02:00
Hugo van Kemenade
879e77a446
Merge pull request #6970 from radarhere/qt
Relax roundtrip check
2023-02-24 07:46:42 +02:00
Andrew Murray
57acab55cb Update CHANGES.rst [ci skip] 2023-02-24 12:55:13 +11:00
Andrew Murray
4777379465
Merge pull request #6961 from jvanderneutstulen/add-save-pdf-dpi-tuple
Support saving PDF with different X and Y resolution
2023-02-24 12:50:42 +11:00
mergify[bot]
29adca3c8a
Merge pull request #6969 from radarhere/highlight
Highlight code example
2023-02-23 22:45:38 +00:00
Jasper van der Neut - Stulen
3c3d888450 Update docs/handbook/image-file-formats.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-23 23:26:52 +01:00
Andrew Murray
19299acbb6 Relax roundtrip check 2023-02-24 08:39:48 +11:00
Andrew Murray
742aff3718 Replace Python code-blocks with double colons 2023-02-24 08:17:10 +11:00