Jim Bennett
Cloud Developer Advocate

Senior Cloud Developer Advocate at Microsoft, Xamarin Certified Developer, author of Xamarin In Action, blogger, speaker, father and lover of beer, whisky and Thai food. Opinions are my own.

  Reading, UK

See me soon at:

DevItCof
Caribbean Developers Conference
Expert Day For Xamarin

My book:

Xamarin In Action

My podcast:

The Jim And Tonic Show
The Jim And Tonic Show on iTunes

Contact me:

  Xamarin In Action
  Twitter
  The Jim And Tonic Show
  GitHub
  LinkedIn
  YouTube
  Email
  CV

When developing for iOS there are a number of different image sizes needed. Just for the springboard icon you need different sizes for iPhones and iPads, both retina and normal versions. When you add spotlight icons (again both retina and normal), iTunes icons the list gets huge.

To help with this and to practice my Node.js skills, I created a node app that does it for you. It's based on the default express app, you give it an image file and it downlods you a zip file containing all the possible image sizes you could want all named correctly.
The code uses Express 3. I know express 4 is out, but 4 doesn't support file uploads using body-parser. When I work out how to do it, I'll update the code.

This is built using the Node.js tools for Visual Studio but the code will run with any node install. You will need ImageMagick installed to make it work.

Clone it from my GitHub




About the Author

Jim Bennett

Cloud Developer Advocate at Microsoft, Xamarin Certified Developer, blogger, author of Xamarin in Action (http://xam.jbb.io), speaker, father and lover of beer, whisky and Thai food. Opinions are mine

 

When developing for iOS there are a number of different image sizes needed. Just for the springboard icon you need different sizes for iPhones and iPads, both retina and normal versions. When you add spotlight icons (again both retina and normal), iTunes icons the list gets huge.

To help with this and to practice my Node.js skills, I created a node app that does it for you. It's based on the default express app, you give it an image file and it downlods you a zip file containing all the possible image sizes you could want all named correctly.
The code uses Express 3. I know express 4 is out, but 4 doesn't support file uploads using body-parser. When I work out how to do it, I'll update the code.

This is built using the Node.js tools for Visual Studio but the code will run with any node install. You will need ImageMagick installed to make it work.

Clone it from my GitHub