[pygtk] I m getting DeprecationWarning for gtk.gdk.INTERP_BILINEAR

Mahmad Sadique Hannure sadique_hannure at yahoo.com
Tue Jun 21 22:05:58 WST 2005


Hi to all,
       I want to simply scale a image. I m using
Python2.4.3,Pygtk 2.0. 
       I hd scale my image by using function
scale_simple(width,height,gtk.gdk.INTERP_BILINEAR)
 

I m getting DeprecationWarning:DeprecationWarning:
integer argument expected, got float
scale_simple(width,height,gtk.gdk.INTERP_BILINEAR)

Is their any alternate way to superase this warrning.

Please Help me.

Thank You.

Regards,
Mohmad sadique.



		
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com


More information about the pygtk mailing list