Commit Graph

77 Commits

Author SHA1 Message Date
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Andrew Murray
80dbd3b193 Added ImageOps cover method 2023-09-21 11:54:36 +10:00
Andrew Murray
1217b13b9e Handle tag_v2 in TiffImagePlugin 2023-09-11 19:02:17 +10:00
Andrew Murray
d0abab7997 When orientation is applied, delete TIFF tag 2023-09-08 15:05:53 +10:00
Andrew Murray
e195e60ce2 Ensure TIFF has transposed on load before checking orientation 2023-09-08 15:05:48 +10:00
Andrew Murray
7d97fa8b86 Use snake case 2023-06-14 16:12:47 +10:00
Andrew Murray
f338f35657 Changed inPlace to be keyword-only argument 2023-06-14 10:01:36 +10:00
Andrew Murray
fe8599c5d6 Use ExifTags 2023-04-16 14:04:39 +10:00
Andrew Murray
bcb8dfc2fa Rearranged code 2023-04-15 22:30:18 +10:00
Andrew Murray
8d3014b8bf Added inPlace argument to exif_transpose() 2023-04-15 21:03:59 +10: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
246f6fa46a
Simply attribute reference
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-01-08 04:45:16 +11:00
Andrew Murray
d3d7566d9a Refer to Resampling enum 2023-01-07 11:27:43 +11:00
Hugo van Kemenade
2ae55ccbda Improve exception traceback readability 2022-12-30 00:07:52 +02:00
Andrew Murray
b3e847a164
Merge branch 'main' into fix-padding 2022-09-21 20:22:27 +10:00
Andrew Murray
3c42b270b9 Copy palette in expand() for PA 2022-09-19 21:39:38 +10:00
Andrew Murray
279ddf4ce6 Use getpalette() in ImageOps 2022-09-19 21:34:29 +10:00
Andrew Murray
c0aaf54816 Removed unnecessary palette copy 2022-09-19 12:41:20 +10:00
Sitcebelly
d88200e0d0 fix bug 2022-09-18 22:32:09 +03:00
Sitcebelly
d80aa74da4 Put palette into the new pad image 2022-09-18 21:14:52 +03:00
Andrew Murray
f9d3ee0f48 Round position in pad() 2022-08-24 22:56:19 +10:00
Bibin Hashley
be9224f285 ImageOps.contain function finding new size issue 2022-08-23 02:57:03 +05:30
Andrew Murray
1197e19982 Document that exif_transpose() does not change orientations of 1 2022-08-04 14:19:17 +10:00
Andrew Murray
1112ad67a3 Document that orientation data is removed by exif_transpose() 2022-08-04 14:18:31 +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
Hugo van Kemenade
4bc6483564
Merge pull request #6034 from radarhere/imageops 2022-03-30 16:16:57 +03:00
Andrew Murray
ecb64fe210 Allow 1 mode images to be inverted 2022-02-08 09:12:01 +11:00
Andrew Murray
f8e4e9c2dd Added enums 2022-01-15 09:02:31 +11:00
Andrew Murray
97ed2ecd97 Changed URLs to https 2021-10-27 22:51:54 +11:00
Andrew Murray
0a7af10827 Instead of drawing border, calculate palette index before image creation in expand() 2021-07-16 20:58:32 +10:00
Andrew Murray
917a598615 Handle removing orientation from alternate types of EXIF data 2021-07-06 10:37:28 +10:00
Andrew Murray
3e5ceb6d67 Corrected border position 2021-06-29 21:24:41 +10:00
Andrew Murray
b6b362c807 Set color after attaching palette in expand() 2021-06-23 19:28:56 +10:00
Hugo van Kemenade
e5b2d61e00
Merge pull request #5551 from radarhere/imageops 2021-06-20 15:51:21 +03:00
Andrew Murray
6639b2af7f Copy palette to new images in expand 2021-06-19 21:24:58 +10:00
Andrew Murray
04566917f8 Do not modify EXIF of original image instance in exif_transpose() 2021-06-18 19:01:12 +10:00
Andrew Murray
38a520c109 Updated docstrings 2021-05-01 22:35:53 +10:00
Andrew Murray
91b3a9d6a1
Updated docstring
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-05-01 21:56:49 +10:00
Andrew Murray
40eceec70d Added contain method 2021-04-19 20:12:52 +10:00
elejke
2c973b4cca versionadded version fixed 2021-03-23 13:57:51 +03:00
elejke
9b8f7c2a8f versionadded directive and releasenotes added 2021-03-23 13:56:51 +03:00
elejke
c585e6ab6b Add preserve_tone option to autocontrast 2021-03-21 21:15:13 +03:00
Hugo van Kemenade
ef986e376f
Merge branch 'master' into master 2020-08-13 23:58:42 +03:00
nulano
6cd0d60315 use code formatting instead of emphasis where applicable [ci skip] 2020-08-11 00:54:12 +02:00
Navneeth Subramanian
ca3796f4f6
Update src/PIL/ImageOps.py
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-07 14:16:07 +09:00
Navneeth Subramanian
665b414033
Update src/PIL/ImageOps.py
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-07 14:15:55 +09:00
navneeth
8fad541531 ENH: Autocontrast method enhancement - adding the option to specify mask for contrast computation 2020-08-06 09:00:13 +09:00
Andrew Murray
7d49c8f38c Updated documentation 2020-07-02 19:14:24 +10:00
Hamza
27c40910d8
Update src/PIL/ImageOps.py
Yup you are absolutely correct; it does the job in fewer lines of code too.

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-07-01 19:01:53 +05:00