[smc-discuss] [pypdflib] Image support

Santhosh Thottingal santhosh.thottingal at gmail.com
Tue Oct 12 02:46:03 PDT 2010





---- 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 ?

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.


-Santhosh



More information about the discuss mailing list