🚨 rethumb will shutdown on September 4th, 2021 🚨 (Twitter)

<< More Tutorials

How to use rethumb in Python 3?

To use rethumb in Python 3 try the following code:

from urllib.request import urlopen

response = urlopen("http://api.rethumb.com/v1/width/100/http://factor45.org/images/beach.jpg")
fh = open("beach.thumb.jpg", "wb")

Start using this example now

Use the following commands to get started:

$ git clone https://github.com/rethumb/rethumb-python3-examples.git
$ cd rethumb-python3-examples
$ python3 generic.js

More examples using Python 3