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

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pgmagick-0.0.1.tar.gz
Algorithm Hash digest
SHA256 781c27652b718d74c901af8015b998f768e84c403eaf1df9cdfbcb65052d08d8
MD5 ec9d56805757910bfc456f39f4ceda3b
BLAKE2b-256 14bcaa6a9425d40f80694f705bbd4d431f6414e3d7168dc6790179ff62f7315c

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