nulano
e1d0a96404
remove unused version value
2023-03-21 22:05:27 +00:00
nulano
1a11ba662c
do not insert null into dict
2023-03-21 22:05:26 +00:00
Hugo van Kemenade
5832362215
Merge pull request #7020 from radarhere/no_libtiff
2023-03-21 17:12:59 +02:00
nulano
76d36da12e
avoid Py_DECREF(Py_None)
2023-03-21 00:59:00 +00:00
Andrew Murray
dfeed0eb7e
Group decrementing reference counts for previous axes in font_getvaraxes
2023-03-20 22:44:14 +11:00
Andrew Murray
6328662248
PyUnicode_* may return NULL
2023-03-20 17:36:55 +11:00
Andrew Murray
11d100ce5d
Support creating BGR;15, BGR;16 and BGR;24 images
2023-03-20 00:30:10 +11:00
Andrew Murray
01cdfb6b27
Removed duplicate calls to PyTuple_GET_SIZE
2023-03-19 23:29:17 +11:00
Andrew Murray
fec92ce9cc
Restored deleted docstring
2023-03-19 13:36:43 +11:00
Auto-5
f03f9670fa
Removed incorrect docstring
2023-03-18 14:12:53 +00:00
Andrew Murray
c7d4d1f75a
Fixed typo
...
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-03-18 22:47:04 +11:00
Andrew Murray
80edcd18d1
Do not render text if image has zero width or height
2023-03-17 20:11:35 +11:00
Andrew Murray
5080d35816
Allow libtiff_support_custom_tags to be missing
2023-03-17 11:27:58 +11:00
Andrew Murray
0966293a0d
Consider transparency when applying blend mask
2023-03-16 20:05:56 +11:00
Andrew Murray
9e6ae98362
Dropped support for BGR;32 mode
2023-03-13 17:31:12 +11:00
Andrew Murray
f8d93267e1
Merge branch 'main' into i16n
2023-03-13 14:33:26 +11:00
mergify[bot]
264b19b266
Merge pull request #6852 from radarhere/qoi
...
Added QOI reading
2023-03-12 14:43:19 +00:00
Andrew Murray
56f9b85ad9
Removed unnecessary line
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-13 00:03:08 +11:00
Andrew Murray
36ee817329
Merge branch 'main' into pdf
2023-03-12 23:31:26 +11:00
Hugo van Kemenade
be244b5070
Merge pull request #7005 from radarhere/unclosed_file
2023-03-12 13:12:28 +02:00
Hugo van Kemenade
258cb8d8bf
Merge pull request #6998 from radarhere/ifdrational
2023-03-12 13:09:44 +02:00
Hugo van Kemenade
436ebdb191
Merge pull request #7002 from radarhere/setup_module
2023-03-12 13:09:03 +02:00
Hugo van Kemenade
8ef6503801
Merge pull request #6914 from radarhere/default
2023-03-12 12:39:45 +02:00
Hugo van Kemenade
bfcea9d718
Merge pull request #6988 from radarhere/memoryview
2023-03-11 22:42:09 +02:00
Andrew Murray
b3d7823740
Decrement reference count
2023-03-12 00:11:48 +11:00
Andrew Murray
f9cbc2e084
Close OleFileIO instance when closing or exiting FPX or MIC
2023-03-11 23:11:43 +11:00
Andrew Murray
c63b0ca210
Decrement reference count
2023-03-11 18:32:43 +11:00
Andrew Murray
347dea12a9
Moved potential error earlier
2023-03-10 23:13:15 +11:00
Andrew Murray
929dbba834
Handle failure from PyDict_New or PyList_New
2023-03-10 17:37:06 +11:00
Andrew Murray
6932562974
Added __int__ to IFDRational for Python >= 3.11
2023-03-09 22:21:37 +11:00
Andrew Murray
cbde5b2626
Added reading of JPEG2000 comments
2023-03-09 13:36:22 +11:00
Andrew Murray
2d01875e7c
Added QOI reading
2023-03-09 13:34:44 +11:00
Andrew Murray
459f0d8352
Round duration when saving animated WebP
2023-03-07 18:07:46 +11:00
Andrew Murray
494a3bcf2b
Release buffer on error
...
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-03-06 10:00:51 +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
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
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
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
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
Yay295
0f27ddafb7
split long line
2023-02-07 13:56:38 -06:00
Yay295
99b153c9ca
hyphenate "backwards-compatibility"
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-07 13:49:00 -06:00
Yay295
35463e8ca3
Merge branch 'main' into eps_plugin_perf
2023-02-06 17:50:18 -06:00
Yay295
bd0fac80c4
deprecate EpsImagePlugin.PSFile
2023-02-06 17:26:05 -06:00
Yay295
be9aea35a8
add eps test for bad BoundingBox, good ImageData
2023-02-06 17:26:04 -06: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
642d574087
Added JPXDecode for RGBA images
2023-02-02 21:48:47 +11:00
Andrew Murray
b3af769c1a
Set alpha channel for OpenJPEG
2023-02-02 20:52:50 +11:00
Andrew Murray
04e8a9b3e7
Removed unnecessary code
2023-01-31 22:32:02 +11:00
Andrew Murray
79e67cb5c3
Removed default argument
2023-01-31 21:42:25 +11:00
Andrew Murray
3e37a919b1
Prevent register_open from adding duplicates to ID
2023-01-28 22:43:04 +11:00
nulano
73f55b4e01
remove redundant default value
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2023-01-28 15:35:33 +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
pre-commit-ci[bot]
41b3ac8aed
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-01-19 00:52:43 +00:00
Josh Ware
de43bc99c8
Added support for jpeg2000 comments and PLT marker segments
2023-01-19 11:37:14 +11:00
Josh Ware
fcf5b7ef83
Fixed merge conflicts during recent pull
2023-01-19 11:33:15 +11: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