The Blog

Using OmniGraffle to create iPhone toolbar icons

by Joel on June 1, 2009

Steve Weller has a very nice tutorial along with an OmniGraffle template concerning the making of pixel-perfect icons for iPhone application toolbars up at his site.

Having gone through much the same thing myself using OmniGraffle to create icons and images and the like for Cocoa applications, it's very nice to see this sort of thing documented well.

Have a look-see for yourself, How to Draw Pixel-Perfect iPhone Toolbar Icons.

Excelsior!

 

Comments

Very nice! This is exactly the kind of thing I was looking for just the other day. Thanks!

Dennis

06.01.09 6:15 AM

thanks.. very good information

Sohbet

06.01.09 8:00 AM

This is great, but it would be *even greater* if I could script up that multi-step export/import/export process. I looked in the scripting dictionary for Omnigraffle Professional 5 and didn't see a way to accomplish that.


There is an “import” command, and an “export settings” type, but I didn't see an “export” command. Am I missing something?

Brian Hardy

06.03.09 1:15 AM
Team Member

There is an “import” command, and an “export settings” type, but I didn’t see an “export” command. Am I missing something?


Brian, you can export using AppleScript by passing additional parameters to the “save” command, e.g.:

save in “/tmp/foo.png” as “png”


Hope this helps!

 

Ken Case

06.03.09 8:20 AM

Thanks, Ken.


Is there a way to specify alternate export settings when exporting via “save”? I see that the application object has a “current export settings” property, but it is read only.


I'll admit to being an AppleScript newbie.

Brian Hardy

06.04.09 1:06 AM
Commenting is not available in this channel entry.