| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This patch adds `upload_from_file()` method which takes an arbitrary readable file object and uploads it to imgur. It's a more generalized version of `upload_from_path()`. It's useful when the image binary isn't stored to file but in the memory e.g. through `io.BytesIO` object.
|
+1 This would be very useful |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This patch adds upload_from_file() method which takes an arbitrary readable file object and uploads it to imgur. It’s a more generalized version of upload_from_path(). It’s useful when the image binary isn’t stored to file but in the memory e.g. through io.BytesIO object.