Hugo van Kemenade
2ae55ccbda
Improve exception traceback readability
2022-12-30 00:07:52 +02:00
Andrew Murray
1e3f3ab596
Do not attempt to read IFD1 if absent
2022-12-29 21:52:09 +11:00
Hugo van Kemenade
1a93e84355
Merge pull request #6798 from radarhere/apply_transparency
2022-12-28 16:49:59 +02:00
Hugo van Kemenade
0934c25686
Merge pull request #6762 from radarhere/exif_hide_offsets
2022-12-23 16:05:21 +02:00
Andrew Murray
9dfba1fe2b
Merge branch 'main' into exif_hide_offsets
2022-12-22 09:03:11 +11:00
Andrew Murray
c6d1fddba5
Merge branch 'main' into registered_extensions
2022-12-22 07:45:52 +11:00
Hugo van Kemenade
acdb882aae
Merge pull request #6793 from radarhere/tile
2022-12-21 16:56:41 +02:00
Andrew Murray
2a86d7353f
Always initialize all plugins in registered_extensions()
2022-12-19 08:19:15 +11:00
Andrew Murray
5301b86f1c
Use snake case
2022-12-14 06:48:36 +11:00
Andrew Murray
f6f622dcee
Clarify apply_transparency() docstring
2022-12-12 06:36:27 +11:00
Andrew Murray
4f0b83cc54
Only set tile in ImageFile __setstate__
2022-12-09 12:29:27 +11:00
Andrew Murray
c2a42655e1
Allow get_child_images to access JPEG thumbnails
2022-12-06 19:30:53 +11:00
Andrew Murray
8ada23ed04
Added IFD1 reading
2022-12-05 09:09:00 +11:00
Andrew Murray
a0326245a2
Removed typo
2022-11-28 08:40:04 +11:00
Andrew Murray
24a5405a9f
Added IFD enum
2022-11-28 08:39:56 +11:00
Andrew Murray
3473eb8e7f
Added Exif hide_offsets()
2022-11-26 15:44:03 +11:00
Hugo van Kemenade
bb2016794f
Merge pull request #6647 from radarhere/rgb2lab
2022-10-19 10:32:03 +02:00
Hugo van Kemenade
87a9d7197e
Merge pull request #6644 from radarhere/convert
2022-10-19 10:22:00 +02:00
Andrew Murray
a4b257269e
Image channel is used when converting PA with an RGBA palette
2022-10-13 20:21:39 +11:00
Hugo van Kemenade
c2efd60e22
Merge pull request #6594 from radarhere/numpy
2022-10-12 12:57:51 +02:00
Andrew Murray
fcd3eef594
Added conversion between RGB/RGBA/RGBX and LAB
2022-10-07 22:33:45 +11:00
Andrew Murray
b8cd3e72a6
Do not attempt normalization if image is already normal
2022-10-07 09:48:56 +11:00
Hugo van Kemenade
f73499e475
Merge pull request #6543 from radarhere/remap_palette
2022-09-21 12:45:26 +03:00
Andrew Murray
d02f91c6da
Raise a warning if NumPy will not raise an error during conversion
2022-09-17 20:11:55 +10:00
Hugo van Kemenade
9b53e3b581
Merge pull request #6539 from radarhere/thumbnail
...
Do not call load() before draft() in Image.thumbnail
2022-09-11 19:15:01 +03:00
Andrew Murray
a36b766d36
Simplified enum references
2022-09-03 20:53:22 +10:00
Andrew Murray
9fa421923c
Removed requirement for 256 palette entries
2022-08-28 15:58:30 +10:00
Andrew Murray
38b53a9fd7
Do not call load() before draft()
2022-08-26 20:33:51 +10:00
Andrew Murray
a37593f004
Allow RGB and RGBA values for PA image putpixel
2022-08-14 14:34:42 +10:00
Andrew Murray
f42e255206
Simplified code
2022-07-26 11:58:44 +10:00
Alexander Piskun
6e97da0260
fixing xmp tag orientation generated by exiftool
2022-07-26 00:30:32 +03:00
Tim Gates
dfa6655bdd
docs: fix simple typo, unpredicatable -> unpredictable
...
There is a small typo in src/PIL/Image.py.
Should read `unpredictable` rather than `unpredicatable`.
Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-07-16 19:04:42 +10:00
Andrew Murray
300f6c8a59
Document where to find other codecs
2022-07-04 19:33:21 +10:00
Andrew Murray
e5046b1057
Reverted to __array_interface__ with the release of NumPy 1.23
2022-06-24 23:08:36 +10:00
Hugo van Kemenade
8bd7e81b5d
Merge pull request #6352 from radarhere/apply_transparency
...
Added apply_transparency()
2022-06-11 17:58:10 +03:00
Andrew Murray
11be163143
Added apply_transparency()
2022-06-06 22:47:58 +10:00
Andrew Murray
4c8aff9798
Allow remapping P images with RGBA palettes
2022-06-06 00:12:48 +10:00
Hugo van Kemenade
b261e17907
Merge pull request #6335 from radarhere/exif
2022-06-01 16:36:03 +03:00
Hugo van Kemenade
27f5c4d8fb
Merge pull request #6176 from radarhere/gif_transparency
...
Improve transparency handling when saving GIF
2022-05-27 08:31:37 +02:00
Andrew Murray
b1885779a9
Once exif data is parsed, do not reload unless it changes
2022-05-27 07:54:54 +10:00
Andrew Murray
99f4623a8d
Remove transparency if it cannot be remapped
2022-05-21 17:39:37 +10:00
Andrew Murray
46a80d144a
Update transparency when remapping the palette
2022-05-21 16:37:47 +10:00
Hugo van Kemenade
2c58c3ee11
Merge pull request #6213 from radarhere/fp
2022-05-19 18:52:55 +03:00
Andrew Murray
80782bba9b
Merge pull request #6254 from benrg/affine-transform
...
Support more affine expression forms in im.point()
2022-05-19 21:06:04 +10:00
Yulv-git
a0fa540b0b
Fix some typos.
2022-05-14 12:46:46 +08:00
Andrew Murray
ef8fd7f8b9
Populate Python palette in fromarray()
2022-05-09 18:50:54 +10:00
Ben Rudiak-Gould
88f46f3c99
Add a comment
2022-05-03 13:42:04 -07:00
Andrew Murray
46802d5def
Removed unused import and restored existing checks ( #1 )
...
* Removed unused import
* Restored existing checks
* Restored coerce_e, _E and data property
* Deprecated coerce_e
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2022-05-03 13:05:39 -07:00
Ben Rudiak-Gould
4e12ccc63e
Support more affine expression forms in Image.point
...
In modes I and F, Image.point only supported affine expressions of the
forms (lambda x:) x * a, x + a, and x * a + b. Expressions like 1 - x
had to be written x * -1 + 1.
This rewrite, though still limited to affine transformations, supports
far more expression forms, including 1 - x, (2 * x + 1) / 3, etc.
2022-05-03 13:05:39 -07:00
Andrew Murray
bcded33cee
Merge pull request #6195 from hugovk/cleanup
...
Cleanup: various
2022-04-26 18:51:44 +10:00