[Pythonmac-SIG] PIL gui with Panther python?

Bob Ippolito bob at redivi.com
Sun Jul 11 19:52:49 CEST 2004


On Jul 11, 2004, at 1:39 PM, David Eppstein wrote:

> On 7/11/04 1:30 PM -0400 Bob Ippolito <bob at redivi.com> wrote:
>>> 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.
>
> It is an absolute requirement that I save to a jpeg programmatically, 
> not pdf via a print dialog (that is the whole point of the program I'm 
> porting -- it's the one I'm using to create web photo galleries).  But 
> it seems that saving to jpeg can be done via 
> NSBitmapImageRep.representationUsingType_properties_.

Well it's also absolutely possible to print to a PDF without using a 
print dialog.

-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/3e8263d3/smime-0001.bin


More information about the Pythonmac-SIG mailing list