diff --git a/plugins/python-codecs/package-lock.json b/plugins/python-codecs/package-lock.json index d3cf3bd73..effd43893 100644 --- a/plugins/python-codecs/package-lock.json +++ b/plugins/python-codecs/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/python-codecs", - "version": "0.1.19", + "version": "0.1.20", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@scrypted/python-codecs", - "version": "0.1.19", + "version": "0.1.20", "devDependencies": { "@scrypted/sdk": "file:../../sdk" } diff --git a/plugins/python-codecs/package.json b/plugins/python-codecs/package.json index 111c3ecda..55ed7e6c1 100644 --- a/plugins/python-codecs/package.json +++ b/plugins/python-codecs/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/python-codecs", - "version": "0.1.19", + "version": "0.1.20", "description": "Python Codecs for Scrypted", "keywords": [ "scrypted", diff --git a/plugins/python-codecs/src/pilimage.py b/plugins/python-codecs/src/pilimage.py index 9cf05d9c1..7e76a9ce3 100644 --- a/plugins/python-codecs/src/pilimage.py +++ b/plugins/python-codecs/src/pilimage.py @@ -66,7 +66,7 @@ def toPILImage(pilImageWrapper: PILImage, options: scrypted_sdk.ImageOptions = N if not width: width = pilImage.width * yscale - pilImage = pilImage.resize((width, height), resample=Image.Resampling.BILINEAR) + pilImage = pilImage.resize((width, height), resample=Image.BILINEAR) return PILImage(pilImage)