Yet Another Python wrapper for GraphicsMagick++
Project description
About
pgmagick is a yet another boost.python based wrapper for GraphicsMagick. (PythonMagick is dead?)
Install
$ pip install pgmagick
Require
required on Ubuntu:
apt-get install libgraphicsmagick++-dev apt-get install libboost-python1.40-dev
Usage
example:
>>> from pgmagick import Image, FilterTypes >>> im = Image('input.jpg') >>> im.quality(100) >>> im.filterType(FilterTypes.SincFilter) >>> im.scale('100x100') >>> im.sharpen(1.0) >>> im.write('output.jpg')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pgmagick-0.0.2.tar.gz
(7.6 kB
view details)
File details
Details for the file pgmagick-0.0.2.tar.gz
.
File metadata
- Download URL: pgmagick-0.0.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 059a520f85c9417ed1978ecceb0f2f7ac54f5d3731281c5bbc03ce09e74457f0 |
|
MD5 | 165dd9d97f8eb472e712952815b7e390 |
|
BLAKE2b-256 | 83da5eb790f08403c19e91c207f811b90dbf27e8b1ed5c87d26fd137464d2fd4 |