it can be replaced with Image.Resampling.LANCZOS (at least that worked in my case)
it can be replaced with Image.Resampling.LANCZOS (at least that worked in my case)