Skip to main content

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


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.4.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file pgmagick-0.0.4.tar.gz.

File metadata

  • Download URL: pgmagick-0.0.4.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pgmagick-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b2229a93b7fad52a26ea52c5839c8068b417534fa78ea4f3cf1a40c5c6eafa96
MD5 ab1d775514fe1bc67ca54723691056ac
BLAKE2b-256 c1cb67c7966e57e0f9cbf954aca5a0be8bd38182cb2d7dc32c883184442d2fe0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page