Andrew Murray
7d97fa8b86
Use snake case
2023-06-14 16:12:47 +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
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
f9d3ee0f48
Round position in pad()
2022-08-24 22:56:19 +10:00
Andrew Murray
df4bb34600
Added test
2022-08-24 22:32:42 +10:00
Andrew Murray
bac83f7dd3
Check that orientation is still absent after reloading Exif
2022-07-27 22:27:43 +10:00
Andrew Murray
7e1261c6a0
Simplified test code
2022-07-27 22:18:39 +10:00
Alexander Piskun
db20d0f8fe
fixing typo in filetest name
2022-07-26 00:45:23 +03:00
Alexander Piskun
6e97da0260
fixing xmp tag orientation generated by exiftool
2022-07-26 00:30:32 +03:00
Andrew Murray
ecb64fe210
Allow 1 mode images to be inverted
2022-02-08 09:12:01 +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
d22fe41776
Reorganised test to use parametrize
2021-05-01 22:36:12 +10:00
Andrew Murray
40eceec70d
Added contain method
2021-04-19 20:12:52 +10:00
Andrew Murray
7844c6e483
Test that preserve_tone changes RGB images but not L images
2021-03-29 23:26:34 +11:00
German Novikov
d18e55013d
Update Tests/test_imageops.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-28 15:02:52 +03:00
German Novikov
977e64fb61
Update Tests/test_imageops.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-25 14:56:30 +03:00
elejke
694d70bdc3
fixed typos in test for autocolor tone preserving
2021-03-23 13:09:51 +03:00
Andrew Murray
4a0698838d
Parametrized test
2021-03-23 20:08:18 +11:00
elejke
8913166c7e
fix test function name for autocontrast
2021-03-23 11:59:37 +03:00
elejke
f73d238cd2
removed redundant comments in tests for tone preserving autocolor
2021-03-22 15:30:43 +03:00
German Novikov
25403063ea
Update Tests/test_imageops.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-03-22 15:27:13 +03:00
elejke
b4e5a6d202
add more tests for autocontrast preserve tone option
2021-03-22 12:06:44 +03:00
elejke
c585e6ab6b
Add preserve_tone option to autocontrast
2021-03-21 21:15:13 +03:00
Andrew Murray
3495b319bd
Replaced various instances of assert_image_similar with assert_image_similar_tofile
2021-02-21 22:22:29 +11:00
navneeth
2d3a841e4b
testing with approx tuple to fix ubuntu test failures
2020-08-12 00:08:29 +09:00
navneeth
d0de431fe4
testing with approx tuple to fix ubuntu test failures
2020-08-12 00:06:16 +09:00
navneeth
01aeaa4cad
added explicit test for autocontrast implementation - pixel value check
2020-08-11 23:47:48 +09:00
navneeth
4841bbe2a5
added explicit test for autocontrast implementation - pixel value check
2020-08-11 23:36:39 +09:00
Hugo van Kemenade
cb26b4d40f
Merge branch 'master' into master
2020-08-09 13:57:46 +03:00
Hugo van Kemenade
dd87dd50c0
Update to isort 5 with Black profile support
2020-08-08 22:39:29 +03:00
Navneeth Subramanian
faf913d0f8
Update Tests/test_imageops.py
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-08 19:32:52 +09:00
navneeth
fa493809a6
ENH: Autocontrast - Code review feedback
2020-08-07 14:31:17 +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
4b5eab4c17
Simplified code
2020-07-02 19:14:28 +10:00
Hamza
16e804b892
linting fixed
2020-07-01 04:37:17 +05:00
Hamza
cbf4f328c7
fixed tests
2020-07-01 04:20:19 +05:00
Hamza
b768cc09d7
added test
2020-07-01 04:01:06 +05:00
Jon Dufresne
4f185329f4
Streamline test skipping based on supported features
...
This adds a new test decorator: skip_unless_feature(). The argument is
the same as passed to features.check(). If the feature is not supported,
the test will be skipped.
This removes several kinds of boilerplate copied and pasted around tests
so test feature checking is handled and displayed more consistently.
Refs #4193
2020-02-18 13:07:01 -08:00
Hugo
affade7595
Replace unittest with pytest
2020-02-13 12:15:05 +02:00
Hugo
a4bf9fa036
Convert most PillowTestCase methods to pytest
2020-02-02 12:26:01 +02:00
Andrew Murray
c0048ad7de
Use context managers
2019-11-26 07:03:23 +11:00