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 returns im [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() to tolist(), rewrite for efficiency [erdmann]
    • accept pathlib.Path objects for filenames (py3 only) [erdmann]

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]