Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
StylePage tools: Python image manipulation
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src
.gitignore
README.md
setup.py

README.md

StylePage tools: Python image manipulation

Dependencies

This tool requires libjpeg.

Installation

pip install spimage

or

pip install -e "git+http://github.com/stylepage/spimage.git#egg=spimage"

or

git clone git@github.com:stylepage/spimage.git spimage
pip install -e spimage

Examples

import spimage
logo = spimage.image('http://www.google.com/intl/en_com/images/srpr/logo2w.png')
logo.scale_to_width(100)
logo.save('google.jpg')
import spimage
Something went wrong with that request. Please try again.