[Pythonmac-SIG] PIL gui with Panther python?

Ronald Oussoren ronaldoussoren at mac.com
Sun Jul 11 19:20:10 CEST 2004


On 11-jul-04, at 19:09, David Eppstein wrote:

> On 7/11/04 6:10 PM +0200 Ronald Oussoren <ronaldoussoren at mac.com> 
> wrote:
>> PyObjC currently has no support for PIL images.
>>
>> BTW. Why do you have to display PIL images? Cocoa has support for
>> displaying images and transforming them.
>
> I guess I don't, but the code I was porting involved using PIL to 
> resize and display images.  Does Cocoa have routines for rotation, 
> antialiased downsizing, and saving back out to jpeg?  I didn't see 
> them in a quick scan of the Cocoa "Drawing and Images" doc but maybe I 
> was looking in the wrong place.

I don't know about saving, but I have written a tool that rotates and 
resizes images. That tool uses NSAffineTransformations to do the job.
-- 
> David Eppstein                      http://www.ics.uci.edu/~eppstein/
> Univ. of California, Irvine, School of Information & Computer Science
>
>
--
X|support bv            http://www.xsupport.nl/
T:  +31 610271479       F:  +31 204416173



More information about the Pythonmac-SIG mailing list