[Pythonmac-SIG] Question about Pil and icns...

whamoo whamoo at rknet.it
Thu Dec 23 01:45:11 CET 2004


On 23/dic/04, at 01:29, Bob Ippolito wrote:

>
> On Dec 22, 2004, at 7:09 PM, whamoo wrote:
>
>> I've read that new beta of the Pil now add support for icns file 
>> format, nice, but in the code of the plugin i read that there is only 
>> the read support, so, i cannot convert icns in other format and 
>> vice-versa? And if i load icns, work on it, then i cannot save.....
>> Can someone tell me something about it? Someone have tried?
>
> That is correct, this is read-only support.  You may not save icns 
> files with the code in PIL.

But starting by reading a icns, i can save a png or jpg?

> You could of course do it the native way, using Mac APIs, or just by 
> dragging images into Icon Composer.

There is a fast way to produce icns starting from a 128x128 image 
(format Png, jpg doesn't matter)?
What Mac Api i must use? I've search documentation, but found about 
nothing (maybe I'm not able to search), i want write a python program 
to convert images in icns in a background fast way, i can't drop 1000 
image con icon composer =)

Thanks for the fast repply


Whamoo www.rknet.it
Powered by:
- MacOsX
- Gnu / Linux Debian Sarge
- Amiga Os 3.9
- Milk



More information about the Pythonmac-SIG mailing list