[smc-discuss] [pypdflib] Image support

Praveen A pravi.a at gmail.com
Tue Oct 12 02:57:23 PDT 2010


2010/10/12 Santhosh Thottingal <santhosh.thottingal at gmail.com>:
> ---- On Tue, 12 Oct 2010 02:24:12 -0700 Kurian O.S ™ ® <kurianos at gmail.com> wrote ----
>
>  > One quick question can we use some other libs to this project for image manipulation ?

http://www.imagemagick.org/script/api.php

There seems to be two such libraries, don't know the difference.

> Please refer :
> http://cairographics.org/documentation/pycairo/2/reference/surfaces.html#class-surface
> especially  create_for_data for image surface.
>
> Image surface got direct support for create_from_png(fobj) and that is what present in current code. For other image formats(jpeg, png) we need to create this pixel buffer.
> Which library you are proposing? Basically we will require scale, transform functionalities on images to fit in the page width.

Image Magick has support for many operations and it supports almost
all the image formats. It is commonly used.

-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.



More information about the discuss mailing list