shahriyardx / easy-pil

A library to make common tasks of Pillow easy.
https://easy-pil.readthedocs.io/
MIT License
41 stars 15 forks source link

Add BytesIO in checking instance while initializing the Editor class #9

Closed riyuzenn closed 2 years ago

riyuzenn commented 2 years ago

When I'm getting the data of an image through url especially from the url of discord avatar, storing the data content in BytesIO rather than saving or downloading it makes it easier to work with.

shahriyardx commented 2 years ago

Actually easy_pil.utils has method called load_image(url) or load_image_async(url)

But thanks for your contribution. I will merge it after testing.