Commit Graph

14772 Commits

Author SHA1 Message Date
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
Andrew Murray
acc7e0b469 Highlight code example 2023-02-24 08:00:24 +11:00
Hugo van Kemenade
8cc5396659
Merge pull request #6967 from radarhere/qt
Relax roundtrip check
2023-02-23 20:27:22 +02:00
Aarni Koskela
43128ce716 Fix up pytest.warns lambda: uses 2023-02-23 16:06:40 +02:00
Aarni Koskela
5c8a9165ab Fix up pytest.raises lambda: uses 2023-02-23 15:19:20 +02:00
Andrew Murray
21d13e1dea Relax roundtrip check 2023-02-23 23:22:18 +11:00
Andrew Murray
0d667f5e0b Do not read "resolution" parameter if it will not be used 2023-02-23 12:44:38 +01:00
Andrew Murray
be489287d2 Parametrized test 2023-02-23 12:44:38 +01:00
Jasper van der Neut
36bcc0a898 Support saving PDF with different X and Y resolution.
Add a `dpi` parameter to the PDF save function, which accepts
a tuple with X and Y dpi.
This is useful for converting tiffg3 (fax) images to pdf,
which have split dpi like (204,391), (204,196) or (204,98).
2023-02-21 11:49:05 +01:00
Hugo van Kemenade
583dd3b424
Merge pull request #6959 from radarhere/harfbuzz 2023-02-21 12:42:10 +02:00
Andrew Murray
43682de4bd Updated harfbuzz to 7.0.1 2023-02-21 08:12:57 +11:00
Andrew Murray
a55c2b42b9 If following colon, replace Python code-blocks with double colons 2023-02-18 20:34:52 +11:00
Andrew Murray
60208a3250 Only allow "corners" to be used as a keyword argument 2023-02-17 10:32:55 +11:00