Welcome to the MacNN Forums.

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.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > batch processing jpg to icon

batch processing jpg to icon
Thread Tools
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
Aug 27, 2001, 06:54 PM
 
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.
     
Forum Regular
Join Date: Oct 2000
Location: Portland, OR USA
Status: Offline
Reply With Quote
Aug 28, 2001, 11:44 AM
 
I believe that Graphic Convertor does this. It is scriptable and has a batch conversion mode.
     
Fresh-Faced Recruit
Join Date: May 2001
Status: Offline
Reply With Quote
Aug 28, 2001, 05:06 PM
 
Does anyone know how IconCompose creates an icon from jpg/tiff?
     
Dedicated MacNNer
Join Date: Apr 2001
Location: San Francisco, USA
Status: Offline
Reply With Quote
Aug 29, 2001, 12:11 PM
 
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.

http://developer.apple.com/techpubs/macosx/Carbon/HumanInterfa ceToolbox/IconServUtili/Icon_Service_nd_Utilities/

[ 08-29-2001: Message edited by: honeydew ]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:52 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2