Andrew Murray
6932562974
Added __int__ to IFDRational for Python >= 3.11
2023-03-09 22:21:37 +11:00
Andrew Murray
eda95342ae
Merge pull request #6986 from fcarron/fix_libtiff_file_pointer
...
Close file pointer copy in the libtiff encoder if still open
2023-03-05 16:24:19 +11:00
Andrew Murray
02afe1f13b
Removed unused profile_fromstring method
2023-03-04 16:35:51 +11: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
Hugo van Kemenade
6ca7bcceee
Merge pull request #6976 from radarhere/memoryview
2023-03-02 12:20:41 +02:00
Andrew Murray
a4965a7eaa
Split into x and y errors
2023-03-01 22:06:40 +11:00
Andrew Murray
b84c29a035
Raise an error if co-ordinates are incorrectly ordered
2023-03-01 11:22:35 +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
132fb9360b
Added memoryview support to frombytes()
2023-02-25 19:10:47 +11:00
Andrew Murray
8a1b9aa0ad
Allow comments in FITS images
2023-02-25 16:44:07 +11: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
Andrew Murray
742aff3718
Replace Python code-blocks with double colons
2023-02-24 08:17:10 +11:00
Andrew Murray
0d667f5e0b
Do not read "resolution" parameter if it will not be used
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
Andrew Murray
60208a3250
Only allow "corners" to be used as a keyword argument
2023-02-17 10:32:55 +11:00
Andrew Murray
0f2a4c1ae5
Added "corners" argument to rounded_rectangle()
2023-02-16 19:19:17 +11:00
Andrew Murray
ad0e9dbaaf
Fixed writing int as UNDEFINED tag
2023-02-14 10:52:32 +11:00
Hugo van Kemenade
f2a2794834
Merge pull request #6930 from greatvovan/patch-1
2023-02-12 14:18:48 +02:00
Andrew Murray
da38395396
Removed quotes from result in docstring
2023-02-12 21:56:23 +11:00
Hugo van Kemenade
73707eb5f7
Merge pull request #6943 from hugovk/add-3.12-dev
...
Test Python 3.12-dev
2023-02-12 07:21:27 +02:00
Hugo van Kemenade
79765d5b9c
Merge pull request #6939 from radarhere/exif
...
Resolves https://github.com/python-pillow/Pillow/issues/6932
2023-02-11 23:39:32 +02:00
Hugo van Kemenade
826c98156c
Remove unused listwindows functions for Windows/3.12 support
2023-02-11 16:36:52 +02:00
Andrew Murray
20daa1d049
Fixed typo
2023-02-11 20:49:09 +11:00
Andrew Murray
bb524018d3
Raise an error when EXIF data is too long
2023-02-11 16:20:27 +11:00
Andrew Murray
a8e03e4dab
Added Exif code examples
2023-02-10 20:11:50 +11:00
pre-commit-ci[bot]
074c6afdc7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-09 04:41:00 +00:00
Vladimir
0eac4f1942
Fix syntax
2023-02-08 20:34:45 -08:00
Vladimir
1656753146
Add docstrings for getixif() and Exif
2023-02-07 22:48:33 -08:00
pre-commit-ci[bot]
24183d652e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-06 19:27:19 +00:00
Andrew Murray
3e37a919b1
Prevent register_open from adding duplicates to ID
2023-01-28 22:43:04 +11:00
Hugo van Kemenade
6d09f3382d
Merge pull request #6902 from radarhere/open
2023-01-21 19:06:07 +02:00
Andrew Murray
535d886bf9
Merge pull request #6905 from hugovk/deprecate-pillow-11
...
Handling for deprecations to be removed in Pillow 11
2023-01-21 07:06:59 +11:00
Hugo van Kemenade
9b660db62d
Handling for deprecations to be removed in Pillow 11
2023-01-20 14:35:11 +02:00
Andrew Murray
bf0abdca27
Do not retry past formats when loading all formats for the first time
2023-01-19 08:06:30 +11:00
Hugo van Kemenade
0b53853941
Merge pull request #6893 from radarhere/formats
2023-01-18 22:53:17 +02:00
Hugo van Kemenade
407f0f94c1
Merge pull request #6892 from radarhere/init
2023-01-18 22:50:41 +02:00
Andrew Murray
3360b5a756
Stop reading when a line becomes too long
2023-01-15 19:49:13 +11:00
Hugo van Kemenade
50f5eade47
Merge pull request #6895 from python-pillow/alex-clark-jeffrey-a-clark-alex
...
Alex Clark -> Jeffrey A. Clark (Alex)
2023-01-14 21:51:27 +02:00
Alex Clark
55ce251a89
Alex Clark -> Jeffrey A. Clark (Alex)
...
I'm still "Alex", just on a Jeffrey A. Clark roll lately.
2023-01-14 12:36:22 -05:00
Andrew Murray
5f9285eea6
Do not retry specified formats if they failed
2023-01-14 23:22:35 +11:00