[Pythonmac-SIG] PIL gui with Panther python?

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


On Jul 11, 2004, at 1:52 PM, Bob Ippolito wrote:

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

Just to clarify, you can do any kind of printing you want without using 
a print dialog.  Automated printing is not specific to PDF output.

-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/aaceb03e/smime.bin


More information about the Pythonmac-SIG mailing list