If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I plan to write a program which converts a jpg to osx icon.
Does anyone have any information how to do the conversion?
I need to use the program to process a few hundred of icons.
Thanks.
Originally posted by nomorewindows:
<STRONG>Does anyone know how IconCompose creates an icon from jpg/tiff?</STRONG>
I think the hard part is getting the JPEG and TIFF images converted into PICT format. NSImage has support for PICT, but I don't know if it will do the conversion.. Anyway, once you have the PICT data check out the "Reading, Copying, and Converting Icon Data" functions in the Carbon documentation.