Hugo van Kemenade
48b0be2fb7
Merge pull request #6879 from Yay295/eps_plugin_perf
2023-04-01 08:55:48 +03:00
Hugo van Kemenade
3cfdef395e
Merge pull request #7047 from nulano/freetype-import
...
Do not discard error message if _imagingft fails to import
2023-04-01 08:43:45 +03:00
Andrew Murray
aa9ecac032
Added ImageSourceData to TAGS_V2
2023-04-01 10:27:39 +11:00
Andrew Murray
3cd1e12974
Merge pull request #7052 from radarhere/ppm_half_token
...
Clear PPM half token after use
2023-04-01 10:07:47 +11:00
Andrew Murray
eeaee75a6e
Merge pull request #7021 from radarhere/getmask2
...
Do not render text if image has zero width or height
2023-04-01 09:26:06 +11:00
Andrew Murray
5932a0bd19
Clear half token after use
2023-04-01 09:23:57 +11:00
Yay295
b606da7f0e
add missing word
2023-03-31 07:19:33 -05:00
Andrew Murray
485532c1f3
Mention available pixel types when converting from NumPy
2023-03-31 21:00:28 +11:00
Andrew Murray
e95b55acd4
Document loss of palette when converting to NumPy
2023-03-31 20:48:14 +11:00
nulano
3d4e9b107d
warn if module is found but fails to import in PIL.features
2023-03-31 02:57:58 +02:00
nulano
b18efc775d
do not discard ImportError message in ImageFont
2023-03-31 01:48:17 +02:00
Yay295
b8b153fd77
Merge branch 'python-pillow:main' into eps_plugin_perf
2023-03-29 10:27:25 -05:00
Andrew Murray
f8be09612d
Merge pull request #6903 from joshware/jp2k_options
...
Support custom comments and PLT markers when saving JPEG2000 images
2023-03-29 23:43:54 +11:00
Andrew Murray
9a7a448219
Increase similiarity between test_plt_marker and _parse_comment
2023-03-29 20:14:29 +11:00
Andrew Murray
1fd189164c
Renamed "add_plt" to "plt"
2023-03-27 22:38:29 +11:00
Hugo van Kemenade
1ff0fb4472
Merge pull request #7034 from radarhere/array_interface
2023-03-25 19:16:53 +02:00
Andrew Murray
d5d830dd00
Merge branch 'main' into bgr32
2023-03-25 23:45:48 +11:00
Andrew Murray
7c3fd25433
Allow saving bytes as comments
2023-03-24 09:45:51 +11:00
Hugo van Kemenade
745f540f0e
Merge pull request #7018 from radarhere/apng
2023-03-23 14:56:47 +02:00
Hugo van Kemenade
3d4a6f7d17
Merge pull request #6996 from radarhere/webp
2023-03-23 14:53:21 +02:00
Andrew Murray
6a931861fe
Load before getting size in __array_interface__
2023-03-23 10:12:18 +11:00
Andrew Murray
176b2a2000
Merge branch 'master' into jp2k_options
2023-03-23 08:57:20 +11:00
Hugo van Kemenade
31e8e012bb
Merge pull request #6909 from radarhere/jp2_comment
2023-03-22 23:54:55 +02:00
Hugo van Kemenade
5832362215
Merge pull request #7020 from radarhere/no_libtiff
2023-03-21 17:12:59 +02:00
Andrew Murray
11d100ce5d
Support creating BGR;15, BGR;16 and BGR;24 images
2023-03-20 00:30:10 +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
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
8ef6503801
Merge pull request #6914 from radarhere/default
2023-03-12 12:39:45 +02:00
Andrew Murray
f9cbc2e084
Close OleFileIO instance when closing or exiting FPX or MIC
2023-03-11 23:11:43 +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
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
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
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
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
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
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
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
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
Andrew Murray
c5d1b15824
Do not unintentionally load TIFF format at first
2023-01-14 22:45:29 +11:00
Andrew Murray
e48aead015
Allow writing IFDRational to BYTE tag
2023-01-13 21:02:42 +11:00