May-28-2022, 09:19 AM
(This post was last modified: May-28-2022, 09:19 AM by Gribouillis.)
(May-28-2022, 07:48 AM)DPaul Wrote: why refer to a release that is a year away?Really I don't know why. You could define
def resize(img, *args, **kwargs): with warnings.catch_warnings(): img.resize(*args, **kwargs) ... resized_img = resize(img, Image.LANCZOS)Aso perhaps a better solution in Warnings Control