Alexander
4da9858709
change default resampling filter for ImageOps.pad(), ImageOps.scale() and ImageOps.fit()
2019-12-17 18:15:02 +03:00
Hugo
3e24c5fea4
Replace isStringType(t) with isinstance(t, str)
...
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
2019-10-08 17:26:52 +03:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +03:00
Andrew Murray
1809f46e0b
Do not calculate the crop width if it is already known
2019-09-29 14:26:32 +10:00
Jon Dufresne
d50445ff30
Introduce isort to automate import ordering and formatting
...
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.
Uses the configuration recommended by the Black to avoid conflicts of
style.
Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Andrew Murray
40bc46ff49
Moved ImageFile.Exif to Image.Exif
2019-04-01 20:03:02 +11:00
Andrew Murray
8f0db65cd7
Allow exif_transpose to work on Image instances as well as ImageFile
2019-04-01 19:37:25 +11:00
Andrew Murray
38fb9b1030
Delete EXIF orientation tag after transposing
2019-04-01 18:49:09 +11:00
Andrew Murray
1ba774ae7f
Added ImageOps exif_transpose method
2019-03-04 11:49:39 +11:00
Hugo
b41ffe585b
Remove deprecated ImageOps functions
2019-01-19 20:00:55 +02:00
Andrew Murray
929f7397db
Line too long
2018-10-21 18:26:08 +11:00
Alexander
6cabcadae4
add release notes
2018-10-18 10:58:20 +03:00
Alexander
73eec9000d
Optimise ImageOps.fit by combining resize in crop
2018-10-17 01:57:55 +03:00
Andrew Murray
b09b43d8b2
Added ImageOps pad method
2018-09-26 20:07:46 +10:00
tsennott
50d6611587
moved tuple test to assert method in PillowTestCase; added docs
2018-07-09 07:04:48 -07:00
tsennott
1eed17c70e
tightened up colorize(); split tests; moved tuple comparison fcn to helper.py
2018-07-08 20:09:39 -07:00
tsennott
4a6ec5ca72
updated colorize to allow optional black/white positions; enhanced tests
2018-07-07 18:19:26 -07:00
tsennott
b19c460568
fixed mapping function, now smooth
2018-07-06 19:49:07 -07:00
tsennott
3c6fd275c8
added assert for midpoint range
2018-07-06 19:09:57 -07:00
tsennott
adf570a77e
adding tests, updated docstring and comments
2018-07-06 18:42:16 -07:00
tsennott
63d8637bb8
adding three-color feature to ImageOps.colorize
2018-07-06 18:18:06 -07:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00