pyvips v2.1.17 Release Notes
Release Date: 2021-12-15 // over 2 years ago-
- โ add
toarray()
[jcupitt] - ๐จ
repr()
will print matrix images as matrices [jcupitt] - more robust bandwise index/slice; added fancy slicing (step != 1) [erdmann]
- fig segfault for
im.bandjoin([])
. Now returnsim
[erdmann] - โ add numpy-style extended indexing (index with list of ints or bools) [erdmann]
- earlier detection of unknown methods and class methods [jcupitt]
- add conversion from Image to numpy array via 'Image.array` [erdmann]
- โ add
Image.fromarray()
for conversion from numpy-ish arrays [erdmann] - โ add
invalidate()
[jcupitt] - add conversion from Image to numpy array via 'Image.array` [erdmann]
- add array-like functionality to
Image.new_from_array()
for conversion from numpy-ish arrays [erdmann] - โ add
Image.numpy()
(convenient for method chaining) [erdmann] - ๐ rename
toarray()
totolist()
, rewrite for efficiency [erdmann] - accept
pathlib.Path
objects for filenames (py3 only) [erdmann]
- โ add
Previous changes from v2.1.16
-
- ๐ fix logging of deprecated args [manthey]
- โ add shepards example [tourtiere]
- โก๏ธ update docs for 8.12 [jcupitt]
- add pagesplit(), pagejoin(), get_page_height(), get_n_pages() [jcupitt]
- โ add atan2() [jcupitt]
- add
cache_get_max()
,cache_get_max_mem()
,cache_get_max_files()
,cache_get_size()
[hroskes] - ๐ don't generate docs for deprecated arguments [jcupitt]
- buffer save tries with the target API first [jcupitt]
- โ add hyperbolic functions
sinh
,cosh
,tanh
,asinh
,acosh
,atanh
[jcupitt] - add
values_for_flag
[kleisauke]