Welcome to pgmagick

pgmagick is a GraphicsMagick(Magick++) binding for Python.

Example

example of resizing JPEG image.

from pgmagick import Image

img = Image('input.jpg')
img.quality(80)
img.scale('20%')
img.write('output.jpg')

Development

pgmagick is written by Hideo Hattori . contact the author by e-mail to hhatto.jp@gmail.com

License

pgmagick is under the MIT License. see the LICENSE file .

Indices and tables

Table Of Contents

Next topic

Tutorial

This Page