Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow URL strings to be passed to imread #4256

Merged
merged 7 commits into from
Jun 9, 2015

Commits on Mar 21, 2015

  1. Allow URL strings to be passed to imread

    These modifications allow valid URL strings to be passed directly into imread.
    URL recognition is done using the standard library function urlparse. If the
    string contains a valid url scheme, it will be used to download and process
    the data using a combination of urlopen and BytesIO (StringIO in python 2).
    rnelsonchem committed Mar 21, 2015
    Configuration menu
    Copy the full SHA
    5126ce3 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2015

  1. Remove file name logic from pilread function

    The Pillow docs state that Image.open can handle either a filename string or a
    file object. That simplifies the pilread function substantially.
    rnelsonchem committed Apr 14, 2015
    Configuration menu
    Copy the full SHA
    c5bc301 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2015

  1. Update identity test to equality test

    It seems that the identity test for the parsed URL scheme was not sufficient.
    I changed this to an equality test, and things are now working properly.
    rnelsonchem committed Apr 16, 2015
    Configuration menu
    Copy the full SHA
    ff90cf0 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2015

  1. Configuration menu
    Copy the full SHA
    cce999d View commit details
    Browse the repository at this point in the history

Commits on May 29, 2015

  1. Configuration menu
    Copy the full SHA
    11f7925 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    683004c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d44d0fe View commit details
    Browse the repository at this point in the history