Andrew Murray
|
54c96df9d6
|
Added type hints
|
2024-01-17 08:03:09 +11:00 |
|
Hugo van Kemenade
|
1d7ff595ec
|
Merge pull request #7724 from radarhere/type_hints_sgi
|
2024-01-16 22:52:43 +02:00 |
|
Hugo van Kemenade
|
4c5e2e4afd
|
Merge pull request #7720 from radarhere/type_hints_imt
|
2024-01-16 15:21:09 +02:00 |
|
FangFuxin
|
44e77a22b5
|
Fix png image plugin load_end func handle truncated file.
|
2024-01-16 07:36:20 +00:00 |
|
Andrew Murray
|
e2aa0fd499
|
Changed ops to be static
|
2024-01-16 12:55:48 +11:00 |
|
Andrew Murray
|
5a587193c7
|
Added type hints
|
2024-01-16 12:22:59 +11:00 |
|
pre-commit-ci[bot]
|
edaf7acdb3
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-01-15 22:01:19 +00:00 |
|
Andrew Murray
|
6a2bdb6feb
|
Added type hints
|
2024-01-16 09:00:40 +11:00 |
|
Andrew Murray
|
4a6cb0f844
|
Added type hints
|
2024-01-15 20:11:14 +11:00 |
|
Andrew Murray
|
575edbefe4
|
Added type hints
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-01-15 18:25:31 +11:00 |
|
Andrew Murray
|
c75a93b9a3
|
Added type hints
|
2024-01-15 16:11:48 +11:00 |
|
mergify[bot]
|
ed9e29d31e
|
Merge pull request #7714 from radarhere/type_hints_fits
Added type hints to FitsImagePlugin
|
2024-01-14 12:58:11 +00:00 |
|
Andrew Murray
|
c97b5c6f7a
|
Exclude abstract method code from coverage
|
2024-01-14 22:29:56 +11:00 |
|
Andrew Murray
|
ffd0363b65
|
Added type hints
|
2024-01-13 16:26:15 +11:00 |
|
Andrew Murray
|
10cf2f2651
|
Added type hints
|
2024-01-13 14:40:59 +11:00 |
|
Andrew Murray
|
bc192557b8
|
Added type hints
|
2024-01-11 23:11:12 +11:00 |
|
Hugo van Kemenade
|
d6d6c7c989
|
Merge pull request #7707 from radarhere/type_hints_imagemath
|
2024-01-11 14:07:35 +02:00 |
|
Hugo van Kemenade
|
fc67ee29d5
|
Merge pull request #7701 from esoma/issue-7700
|
2024-01-11 14:05:16 +02:00 |
|
Hugo van Kemenade
|
5baace9eb7
|
Merge pull request #7702 from nulano/deprecate-cms-constants
|
2024-01-11 10:51:21 +02:00 |
|
Andrew Murray
|
993bc6c202
|
Added type hint
|
2024-01-10 23:41:09 +11:00 |
|
Andrew Murray
|
38bfe3cddf
|
Added type hint
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-01-10 23:36:26 +11:00 |
|
Andrew Murray
|
659098c6ac
|
Added type hints
|
2024-01-10 22:05:26 +11:00 |
|
Hugo van Kemenade
|
605e664678
|
Merge pull request #7698 from radarhere/ppm
|
2024-01-09 16:08:05 +02:00 |
|
Andrew Murray
|
6c320323b4
|
Only set row order when needed
|
2024-01-09 12:47:27 +11:00 |
|
Andrew Murray
|
673eb9a845
|
Merge branch 'main' into ppm
|
2024-01-09 12:46:55 +11:00 |
|
Andrew Murray
|
605208ea47
|
Merge branch 'main' into perspective
|
2024-01-09 07:16:24 +11:00 |
|
Andrew Murray
|
208a34c079
|
Merge branch 'main' into deprecate-cms-constants
|
2024-01-09 07:15:41 +11:00 |
|
Hugo van Kemenade
|
b1f549f60c
|
Merge pull request #7696 from nulano/pfm
|
2024-01-08 19:22:53 +02:00 |
|
Ondrej Baranovič
|
f044d53fd1
|
swap conditions
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-01-08 17:17:17 +01:00 |
|
Nulano
|
bddfebc331
|
add license comment to ImageCms; explicitly say "no replacement" for deprecations without a replacement
|
2024-01-08 12:57:23 +01:00 |
|
Nulano
|
08f11c57a1
|
deprecate ImageCms members: DESCRIPTION, VERSION, FLAGS, versions()
|
2024-01-08 00:32:47 +01:00 |
|
Erik Soma
|
6d99f9193f
|
Fix info for first frame of apng images getting clobbered when seeking to the first frame multiple times.
|
2024-01-07 16:00:58 -05:00 |
|
Andrew Murray
|
ba6399cad1
|
Added PerspectiveTransform
|
2024-01-07 19:34:27 +11:00 |
|
Andrew Murray
|
bb55274845
|
Removed PPM loop to read header tokens
|
2024-01-07 18:49:01 +11:00 |
|
Hugo van Kemenade
|
fcaed26ab1
|
Merge pull request #7676 from nulano/lcms2-flags
|
2024-01-06 16:43:20 +02:00 |
|
Ondrej Baranovič
|
d9ec2fd4bb
|
Add code formatting to ImageCms.Flags docstrings
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-01-06 14:33:11 +01:00 |
|
Nulano
|
0d841aab9a
|
add support for grayscale pfm image format
|
2024-01-06 14:08:51 +01:00 |
|
Andrew Murray
|
2d6ad5868d
|
Use "non-zero" consistently
|
2024-01-06 12:07:55 +11:00 |
|
Andrew Murray
|
c46cf19a58
|
Merge pull request #7684 from nulano/docs-imagetransform
Improve ImageTransform documentation
|
2024-01-06 06:45:19 +11:00 |
|
Andrew Murray
|
f71cfec76f
|
Merge pull request #7645 from nulano/font-bomb
Simplify FreeTypeFont.render
|
2024-01-04 23:50:43 +11:00 |
|
Nulano
|
fc7088a561
|
improve ImageTransform documentation
|
2024-01-02 14:52:12 +01:00 |
|
Andrew Murray
|
dacd928530
|
10.3.0.dev0 version bump
|
2024-01-02 20:37:59 +11:00 |
|
Andrew Murray
|
6956d0b285
|
10.2.0 version bump
|
2024-01-02 18:32:31 +11:00 |
|
Nulano
|
0b2e2b224f
|
document ImageCms.Flags
|
2024-01-01 21:40:41 +01:00 |
|
Nulano
|
90991428fa
|
add LCMS2 flags to ImageCms
|
2024-01-01 21:40:38 +01:00 |
|
Andrew Murray
|
d93a5ad70b
|
Merge pull request #7553 from bgilbert/jpeg-rgb
Add `keep_rgb` option when saving JPEG to prevent conversion of RGB colorspace
|
2024-01-01 23:55:37 +11:00 |
|
Andrew Murray
|
f8df5303fa
|
Merge pull request #7672 from nulano/imagefont-negative-crop
Trim negative glyph offsets in ImageFont.getmask()
|
2024-01-01 23:34:17 +11:00 |
|
Andrew Murray
|
24e9485e6b
|
Merge pull request #7671 from radarhere/imagetransform
Added type hints to ImageTransform
|
2024-01-01 21:45:56 +11:00 |
|
Nulano
|
0eb661b889
|
do not crop ImageFont glyphs from negative coordinates
|
2024-01-01 11:35:42 +01:00 |
|
Andrew Murray
|
57096f55cf
|
Merge pull request #7642 from nulano/types-util
Add type hints to _util
|
2024-01-01 21:27:57 +11:00 |
|
Andrew Murray
|
09ea121079
|
Use enum
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
|
2024-01-01 21:09:01 +11:00 |
|
Andrew Murray
|
4da1e49036
|
Added type hints
|
2024-01-01 19:22:01 +11:00 |
|
Hugo van Kemenade
|
4c174e2379
|
Merge pull request #7668 from radarhere/numpy
Removed unnecessary "pragma: no cover"
|
2024-01-01 10:00:56 +02:00 |
|
Andrew Murray
|
10c2df5430
|
Merge pull request #7669 from radarhere/imagefont_mask
Do not try and crop glyphs from outside of source ImageFont image
|
2024-01-01 18:16:49 +11:00 |
|
Andrew Murray
|
492e5b0e0a
|
Do not set default value for unused variable
|
2024-01-01 16:18:26 +11:00 |
|
Andrew Murray
|
6cad0d62e7
|
Do not crop again if glyph is the same as the previous one
|
2024-01-01 16:14:45 +11:00 |
|
Andrew Murray
|
8676cbd4e7
|
Do not try and crop glyphs from outside of source ImageFont image
|
2024-01-01 16:13:24 +11:00 |
|
Andrew Murray
|
af026fdd3c
|
Added decompression bomb check to ImageFont.getmask()
|
2024-01-01 16:06:09 +11:00 |
|
Andrew Murray
|
8422af20d5
|
Removed unnecessary "pragma: no cover"
|
2024-01-01 15:47:53 +11:00 |
|
Andrew Murray
|
3ef7b93846
|
Merge branch 'main' into iptc
|
2024-01-01 15:23:08 +11:00 |
|
Andrew Murray
|
f2c6f118aa
|
Merge pull request #7664 from nulano/deprecate-iptc-helpers
Deprecate IptcImagePlugin helpers
|
2024-01-01 15:22:18 +11:00 |
|
Andrew Murray
|
17911d6ec4
|
Removed import
|
2024-01-01 14:49:01 +11:00 |
|
Andrew Murray
|
99760f4c59
|
Merge branch 'main' into tiff
|
2024-01-01 13:41:17 +11:00 |
|
Andrew Murray
|
e1ea522f70
|
Added further type hints
|
2023-12-31 17:41:13 +02:00 |
|
Nulano
|
aa605bc6f2
|
document IptcImagePlugin deprecations
|
2023-12-31 17:41:13 +02:00 |
|
Nulano
|
fa4b3776f0
|
deprecate IptcImagePlugin.{dump,i,PAD}
|
2023-12-31 17:41:13 +02:00 |
|
Hugo van Kemenade
|
6c4b47dc46
|
Merge pull request #7496 from radarhere/exif
|
2023-12-31 17:39:21 +02:00 |
|
Hugo van Kemenade
|
da61ed1330
|
Merge pull request #7661 from radarhere/iptc
|
2023-12-31 17:38:35 +02:00 |
|
Hugo van Kemenade
|
d71cf168ee
|
Merge pull request #7566 from radarhere/exit
|
2023-12-31 17:37:43 +02:00 |
|
Hugo van Kemenade
|
119885aa66
|
Merge pull request #7589 from radarhere/dds_rgb
|
2023-12-31 17:35:30 +02:00 |
|
Hugo van Kemenade
|
5df7235d90
|
Merge pull request #7654 from radarhere/rowsperstrip
|
2023-12-31 17:29:26 +02:00 |
|
Hugo van Kemenade
|
6282caf3f4
|
Merge pull request #7659 from nulano/types-binary
|
2023-12-31 16:56:16 +02:00 |
|
Nulano
|
3396ce102d
|
do not accept int in PIL._binary.i8
|
2023-12-31 15:12:18 +01:00 |
|
Andrew Murray
|
42c574afdf
|
Merge pull request #7656 from nulano/types-containerio
Add type hints to PIL.ContainerIO
|
2024-01-01 00:25:20 +11:00 |
|
Nulano
|
46a6ddf0c2
|
fix loading IPTC images and add test
|
2023-12-31 13:53:09 +01:00 |
|
Andrew Murray
|
2ec53e36e9
|
Apply ImageFont.MAX_STRING_LENGTH to ImageFont.getmask()
|
2023-12-31 23:17:28 +11:00 |
|
Andrew Murray
|
1d9c931626
|
Changed tile tuple to match other plugins
|
2023-12-31 22:43:08 +11:00 |
|
Hugo van Kemenade
|
9158c9aec0
|
Optimise ImageColor using functools.lru_cache
|
2023-12-30 16:26:50 +02:00 |
|
Andrew Murray
|
557ba59d13
|
Include further builtins
|
2023-12-30 09:30:12 +11:00 |
|
Andrew Murray
|
0ca3c33c59
|
Allow ops
|
2023-12-30 09:29:40 +11:00 |
|
Eric Soroos
|
45c726fd4d
|
Don't allow __ or builtins in env dictionarys for ImageMath.eval
|
2023-12-30 09:28:32 +11:00 |
|
Nulano
|
9a6b6316a7
|
add type hints to PIL.ContainerIO
|
2023-12-29 23:24:21 +01:00 |
|
Nulano
|
6a33d6d170
|
add type hints to PIL._binary
|
2023-12-29 23:15:41 +01:00 |
|
Andrew Murray
|
f7ec665bf1
|
Support setting ROWSPERSTRIP tag
|
2023-12-29 23:00:14 +11:00 |
|
Andrew Murray
|
f6bcf4e1ae
|
Use IMAGEWIDTH and IMAGELENGTH when calculating strip size
|
2023-12-29 14:15:40 +11:00 |
|
Nulano
|
30015f6236
|
simplify decompression bomb check in FreeTypeFont.render
|
2023-12-27 17:05:14 +01:00 |
|
pre-commit-ci[bot]
|
0d90bc8187
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2023-12-27 13:57:22 +00:00 |
|
Nulano
|
3a4298d16c
|
avoid hard dependency on typing_extensions
|
2023-12-27 14:55:30 +01:00 |
|
Nulano
|
cc51dace35
|
fix types hints for ImageFile._Tile
|
2023-12-27 14:55:30 +01:00 |
|
Nulano
|
90d5552800
|
use _util.DeferredError.new everywhere
|
2023-12-27 14:55:30 +01:00 |
|
Nulano
|
6bcf807fe2
|
add type hints for _util
|
2023-12-27 14:55:30 +01:00 |
|
Andrew Murray
|
0aebd577ea
|
Moved type hint to BYTES_PER_ROW
|
2023-12-27 22:27:20 +11:00 |
|
Andrew Murray
|
6e97dd5cec
|
Raise ValueError when trying to save without bitmap
|
2023-12-27 12:32:35 +11:00 |
|
Andrew Murray
|
85818cd616
|
Added type hints to FontFile and subclasses
|
2023-12-27 12:27:21 +11:00 |
|
Andrew Murray
|
e9252a9353
|
Always return None from compile()
|
2023-12-27 11:07:53 +11:00 |
|
Hugo van Kemenade
|
396b96f28b
|
Optimise ImageMode.getmode
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2023-12-26 15:08:58 -07:00 |
|
Benjamin Gilbert
|
a5fab5fc0b
|
Fail if chroma subsampling selected when writing RGB JPEG
The user presumably doesn't intend to subsample the green and blue
channels.
|
2023-12-26 12:37:35 -06:00 |
|
Hugo van Kemenade
|
26f58e7afc
|
Optimise ImageMode.getmode
|
2023-12-26 18:05:55 +02:00 |
|
Andrew Murray
|
d400ef2b46
|
Added type hints
|
2023-12-26 12:18:38 +11:00 |
|
Hugo van Kemenade
|
fbecf7790b
|
Merge pull request #7635 from radarhere/type_hints_imagesequence
|
2023-12-25 13:17:06 +02:00 |
|