Skip to content
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.

ANTIALIAS is deprecated #58

Open
zittox opened this issue Jun 23, 2022 · 1 comment
Open

ANTIALIAS is deprecated #58

zittox opened this issue Jun 23, 2022 · 1 comment

Comments

@zittox
Copy link

zittox commented Jun 23, 2022

Describe the bug

when saving to IGTV - shows warning error - DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.

how can i change this line of code _ im1 = im1.resize(size, Image.ANTIALIAS) _ and use the resampling as it was mentioned ?

Environment

it does save to igtv and plays well

Thanks

@zittox
Copy link
Author

zittox commented Jun 23, 2022

Try a one hour live and this message appears and it did not save to IGTV:

Saving...

  • ERROR(202): Transcode not finished yet.

if i change the number in this line :
'retry_context': '{"num_reupload":0,"num_step_auto_retry":0,"num_step_manual_retry":0}',
can i do num_step_auto_retry: 1 or do i put a num in seconds...to auto retry the upload?

or would u know where to "wait more" for the transcoding?

thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant