Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Comments

Close side panel

Add upload_from_file() method#60

Closed
dahlia wants to merge 1 commit intoImgur:masterImgur/imgurpython:masterfrom
dahlia:upload-from-filedahlia/imgurpython:upload-from-fileCopy head branch name to clipboard
Closed

Add upload_from_file() method#60
dahlia wants to merge 1 commit intoImgur:masterImgur/imgurpython:masterfrom
dahlia:upload-from-filedahlia/imgurpython:upload-from-fileCopy head branch name to clipboard

Conversation

@dahlia
Copy link

@dahlia dahlia commented Jan 29, 2016

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.

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.
@tdbs
Copy link

tdbs commented Mar 29, 2016

+1

This would be very useful

@nyov
Copy link

nyov commented Apr 23, 2016

Looks like this is duplicate of the merged #53

@dahlia dahlia closed this Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.