[Pythonmac-SIG] PIL gui with Panther python?

Bob Ippolito bob at redivi.com
Sun Jul 11 19:30:57 CEST 2004


On Jul 11, 2004, at 1:20 PM, Ronald Oussoren wrote:

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

Saving shouldn't be a problem, considering you can print anything you 
can see to a PDF or draw to a NSImage.

-bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20040711/0d5b5d91/smime.bin


More information about the Pythonmac-SIG mailing list